This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Website doesn't want me opening developer tools

  • 10 uphendule
  • 1 inale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu newbie442

more options

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.

First BEFORE going to this website I open developer tools (CTRL SHIFT I) Then I visit [https://ww4.0123movie.net/movie/tpb-afk-the-pirate-bay-away-from-keyboard-16353.html?play=1 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)

more options

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?

more options

The website inserts debugger statements in their JavaScript code.

You can try to disable all breakpoints in the debuger.

more options

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.

more options

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.

more options

@jscher2000 Tried it now and does not seem to affect anything. Please go ahead jscher and try the website too.

more options

And btw there are thousands of websites now taking advantage of this anti-devtools trick, i just picked 1 website of many.

more options

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.

more options

Yes I tried that 12 hours ago, forgot to mention, not working.

Okulungisiwe ngu newbie442

more options

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.

more options

I want to use “Network Monitor” not inspector