Reputation: 453
I have an injection on my website. When javascript is enabled the website redirects to another one.
How can I find out where the injection is?
Upvotes: 1
Views: 2409
Reputation: 907
Another thing is that redirect can ge added to the site using Javascript. Maybe some content that you load using Javascript which won't be visible with Javascript disabled.
P.S. Quickest way I think would be by searching for the website you get redirected to in the page source.
Upvotes: 2
Reputation: 439
If you cannot find any javascript redirects in your code check for any and all ajax requests. A script maybe injected asynchronously
Upvotes: 0