If you try one way to inject and it does not work, AppDynamics recommends that you undo the current injection configuration before implementing another one.
Reverse Manual Injection
To undo manual injection, simply delete the JavaScript Agent from your web pages.
Undo Automatic Injection
To undo automatic injection:
Navigate to the Application Dashboard of the application that is injecting the JavaScript Agent.
Click Configuration > User Experience App Integration.
From the Inject the JavaScript Agent configured for this Browser App dropdown, select your browser application.
From the Automatic JavaScript Injection tab, clear the Enable Automatic Injection of JavaScript check box.
Undo Assisted Injection Using Attribute Injection
To undo assisted injection using attribute injection:
Navigate to the Application Dashboard of the application that is injecting the JavaScript Agent.
Click Configuration > User Experience App Integration.
From the Inject the JavaScript Agent configured for this Browser App dropdown, select your browser application.
From the Configure JavaScript Injection tab, clear the Request Attribute Injection check box.
Undo Assisted Injection Using Injection Rules
To undo assisted injection using injection rules:
Navigate to the Application Dashboard of the application that is injecting the JavaScript Agent.
Click Configuration > User Experience App Integration.
From the Inject the JavaScript Agent configured for this Browser App dropdown, select your browser application.
From the Configure JavaScript Injection tab, double-click the rule that you'd like to disable.
Clear the Enabled check box.
You can also simply delete rules by selecting the rule and then clicking the Delete icon.