Skip to content

uBlock Origin scriptlet that simulates DevTools on most pages when real DevTools is blocked by policy.

License

Notifications You must be signed in to change notification settings

FinnBaltazar1111/uDevTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uDevTools

Uses Chii to simulate DevTools via a uBlock Origin scriptlet. To run:

  1. Install uBlock Origin from the Chrome Web Store (if it's blocked, womp womp)

  2. Go to chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/dashboard.html

  3. Scroll down and check I am an advanced user

    ->

  4. Click the settings icon right next to the check box (this will bring you to chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/advanced-settings.html)

  5. On the last line next to userResourcesLocation, change unset to https://raw.githubusercontent.com/FinnBaltazar1111/uDevTools/main/uDevTools.min.js and click Apply Changes. If it is already set you can change it from something like userResourcesLocation https://raw.githubusercontent.com/3kh0/ext-remover/main/ublockExec.js (uRun) to userResourcesLocation https://raw.githubusercontent.com/3kh0/ext-remover/main/ublockExec.js https://raw.githubusercontent.com/FinnBaltazar1111/uDevTools/main/uDevTools.min.js (uRun + uDevtools)

  6. Click Apply Changes

  7. Go to chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/dashboard.html#1p-filters.html

  8. Inside the edit box, copy-paste this: *##+js(uDevTools.js) in a new line, then click Apply Changes

And you're done! Note that this might not work on some sites due to additional protections.

To toggle, use keybind CTRL+ALT+I. This is broken on some websites (where it auto launches).

Websites where this does work:

  • Google Search
  • Khan Academy
  • Code.org
  • Stack Overflow
  • Most GitHub Pages sites ...and basically every other website.

Websites where this doesn't work:

  • GitHub
  • Quill.org
  • raw.githubusercontent.com
  • Google Docs, Slides, Drive, Sheets, Classroom, Jamboard, Meet, etc.
  • Discord ...and some others.

uEruda

A version of uDevTools that works on a lot more sites due to CSP only disabling frames and scripts, but this is being run directly. Quite literally grab Eruda from jsDelivr, put it in a scriptlet, run it. Steps to install (can be installed alongside uDevTools):

  1. Install uBlock Origin from the Chrome Web Store (if it's blocked whomp whomp)

  2. Go to chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/dashboard.html

  3. Scroll down and check I am an advanced user

  4. Click the settings icon right next to the check box (this will bring you to chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/advanced-settings.html)

  5. On the last line next to userResourcesLocation, change unset to https://raw.githubusercontent.com/FinnBaltazar1111/uDevTools/main/uDevTools.min.js and click Apply Changes. If it is already set you can change it from something like userResourcesLocation https://raw.githubusercontent.com/3kh0/ext-remover/main/ublockExec.js (uRun) to userResourcesLocation https://raw.githubusercontent.com/3kh0/ext-remover/main/ublockExec.js https://raw.githubusercontent.com/FinnBaltazar1111/uDevTools/main/uEruda.js (uRun + uEruda).

  6. Click Apply Changes

  7. Go to chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/dashboard.html#1p-filters.html

  8. Inside the edit box, copy-paste this: *##+js(eruda.js) in a new line, then click Apply Changes.

Credits

  • surunzi or LiriLiri for making Eruda and Chii.
  • Everybody who has contributed and made uBlock Origin.
  • Google, for making a absolutely dumb browser 💀
  • FinnBaltazar1111 for writing the initial code.
  • s0urce-c0de, for addding the toggle and keybind function, fixing an issue with page distortion, adding images for README, adding URL for uBlock Origin, and for testing sites which this works on.

About

uBlock Origin scriptlet that simulates DevTools on most pages when real DevTools is blocked by policy.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published