Skip to content

Instantly share code, notes, and snippets.

@daviddanielng
Last active June 12, 2024 09:07
Show Gist options
  • Save daviddanielng/b98380e0d84b1d16c94cfd700e87fd6a to your computer and use it in GitHub Desktop.
Save daviddanielng/b98380e0d84b1d16c94cfd700e87fd6a to your computer and use it in GitHub Desktop.
How to stop sites from detecting you in dev tools.

HOW TO STOP SITES FROM DETECTING YOU IN DEV TOOL ON LINUX, WINDOWS AND MACOS.

I will make this brief: utilising devtools is prohibited on some websites (typically shady websites) for users like you and me. I am writing this description to show you how I was able to navigate with a little bit of Google and redditing. None of the standard browsers Firefox, Google Chrome, Safari, or any other will be able to use this, save from the one I am about to disclose. You need to download LibreWolf; it is a special browser that makes use of the firefox gecko render engine and gives you the ability to change the necessary browser settings.

HOW TO INSTALL LIBREWOLF ON YOUR OS

To install librewolf on your OS see link below

WHAT TO DO NEXT.

Installing librewolf alone will not prevent websites from identifying you in dev tools; you will need to modify some settings.

  1. Launch librewolf and open about:config in the URL.
  2. Enter librewolf.console.logging_disabled and set to true
  3. Enter librewolf.debugger.force_detach and set to true .
  4. Open dev tools with Ctrl + Shift + i.
  5. Select Settings by clicking on the three dots that appear in the upper right corner of the Dev Tool window, or hit f1.
  6. Scroll down to advanced settings.
  7. Uncheck Disable Source Maps
  8. Restart librewolf

Now, you may access the developer tools from any website; preferably, launch the dev tool first before accessing the URL. I normally open the dev tools first, sixty percent of the time, but you may use them after viewing the webpage.

I got most of my info from This scraping turtorial on github

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment