Web inspector and JavaScript console bookmarklet that bypasses CSP (Content Security Policy)

Great if you're a Safari user on iOS and don't want to connect your device to a Mac to have this functionality.

Works on most CSP-restricted pages, except pages with maximum security policies like github.com and developer.mozilla.org.

The bookmarklet contains the entire Eruda JavaScript library as a base64-encoded string in order to bypass the script-src-elem CSP restrictions.

If you have concern about the safety of the bookmarklet, you can always decode the base64 string and compare it to the original script (v3.4.1) here.

Download or view bookmarklet