cross-posted from: https://infosec.pub/post/54498740
Just like the real sea level rising amid climate change, the ocean of shitty websites is rising (much more aggressively than the real ocean). To help in the de-shitification, this bookmarklet is quite useful:
javascript:void window.open("https://web.archivep75mbjunhxc6x4j5mwjmomyxb573v42baldlqu56ruil2oiad.onion/web/"+encodeURIComponent(location.href));You simply create a bookmark on your bookmarks bar and paste that text in, in place of the URL. If you are visiting a website that gives you problems, simply clicking that bookmarklet will prefix the Internet Archive Wayback Machine in front of the current URL. It’s a notable time-saver, as opposed to copy-paste that text every time.
There is a flaw: if the target website simply drops packets (i.e. it’s a tor-hostile site), then the URL is malformed. It attempts to visit
archive.org/…/about:Or more often, it just does nothing.Any JS folks know how to fix that so it works on sites that time out?
(edit) bonus points–
Some shitty sites (Siteground?) redirect to:
https://$original_host/.well-known/captcha/?y=ipr:$IPaddy:$random_real_number&r=$original_path
So it would help if the bookmarklet would strip out the garbage that was added before visiting archive.org.

