Cool Chrome Bookmarklets (Wayback machine, recover passwords, etc)
We can use this to do some fun and useful things. Either make a new bookmark and in the URL field, type this in, or you should be able to copy and drag the text into the bookmark tab as well (you’ll see a plus sign). You can run many (vanilla) JS functions and code within your bookmarklets, but there are some issues with escape characters and formatting.
You can do most of these commands via chrome extensions or AutoHotKeys, but I prefer bookmarklets because they don’t use nearly as much processing power as extensions, are only active once clicked, and are more privacy friendly. This means that you can run a script on a page with a single click, know what code is running and also can see what it logs via the console!
Wayback Machine and site archive:
- Find old version of page:
void(location.href='https://web.archive.org/web/*/'+escape(location.href.replace(/^https?:\/\//, %27%27).replace(/\/$/, %27%27)));
- Save current version of page to the archive:
window.location.href="https://web.archive.org/save/" + url;
- Escape paywalled article:
window.location.href="https://archive.ph/" + url;
Show password in password form:
See deleted reddit content: