Website doesn't want me opening developer tools
First BEFORE going to this website I open developer tools (CTRL SHIFT I)
Then I visit example URL
The video doesn't play and it crashes my browser TAB.
What's going on here how can websites know i'm using devtools and why wasn't this patched 20 years ago?
Thank you.
All Replies (10)
Does it make any difference if you undock the Developer Tools so they are in a separate floating window instead of taking up space in the tab?
The website inserts debugger statements in their JavaScript code.
You can try to disable all breakpoints in the debuger.
cor-el said
The website inserts debugger statements in their JavaScript code. You can try to disable all breakpoints in the debuger.
I dont understand that. I guess I'm stuck with this.
Hi newbie442, I think the suggestion is to switch to the Debugger tool and click the button I've marked in the attached screenshot and see whether the site can still detect that the DevTools are open.
@jscher2000 Tried it now and does not seem to affect anything. Please go ahead jscher and try the website too.
And btw there are thousands of websites now taking advantage of this anti-devtools trick, i just picked 1 website of many.
I don't visit sites like that for security reasons.
Did undocking the tools make any difference? If the page is detecting a discrepancy between the window size and the viewable area, that might help. Click the ••• button toward the right end of the DevTools toolbar to make the change.
Yes I tried that 12 hours ago, forgot to mention, not working.
Modified
Note that reloading the page with the dubugger window open seems to trigger this debugger statement even with all breakpoints disabled. If I first load the page with the devtools closed and only only open the devtools once loading is finished then it works for me with this website. You need to disable all breakpoints beforehand. That way you can at least use the Inspector.
I want to use “Network Monitor” not inspector