Last active
February 17, 2026 20:32
-
-
Save AfroThundr3007730/15bc9a9cb024d778b2a1ac7d4fc93a3d to your computer and use it in GitHub Desktop.
Browser bookmarklets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // switch to menlo proxy: π | |
| javascript:(()=>window.location.replace('https://safe.menlosecurity.com/'+window.location))() | |
| ; | |
| // switch to wayback machine: ποΈ | |
| javascript:(()=>window.location.replace('https://web.archive.org/'+window.location))() | |
| ; | |
| // invert the current page: π | |
| javascript:(()=>document.head.insertAdjacentHTML('beforeend','<style>html{filter:invert(1) hue-rotate(180deg)}img{filter:invert(1) hue-rotate(180deg)}</style>'))() | |
| ; | |
| // invert the current pdf (pdfJS): π | |
| // also set pdfjs.viewerCssTheme=2 | |
| javascript:(()=>document.head.insertAdjacentHTML('beforeend','<style>.pdfViewer{filter:invert(1) hue-rotate(180deg)}img{filter:invert(1) hue-rotate(180deg)}</style>'))() | |
| ; | |
| // darken images on the current page: πΆοΈ | |
| javascript:(()=>document.head.insertAdjacentHTML('beforeend','<style>img{filter:brightness(75%)}</style>'))() | |
| ; | |
| // redirect twitch clips to clips.twitch.tv: π¬ | |
| javascript:(()=>window.location.replace(window.location.origin.replace('www','clips')+'/'+window.location.pathname.split('/')[3]))() | |
| ; | |
| // prevent F5 and Ctrl+R on page: β | |
| javascript:(()=>document.addEventListener('keydown',e=>{if(e.key==='F5'||(e.ctrlKey&&e.key==='r'))e.preventDefault()}))() | |
| ; | |
| // alert on page reload events: π | |
| javascript:(()=>window.addEventListener('beforeunload',e=>e.preventDefault()))() | |
| ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment