This looks super useful
You may not always want to remove parameters from the end of the url. To change that replace
location.href.split('?')[0]
with
location.href
.
And in some cases you may need to encode the url first by using
encodeURI(location.href.split('?')[0])
or
encodeURI(location.href)
Share link to Poal
javascript:location.href = '//poal.co/submit/link?url=' + location.href.split('?')[0];
Save to Wayback Machine
javascript:location.href = '//web.archive.org/save/' + location.href.split('?')[0];
Save to Archive.Today (.is, .ph, etc...)
javascript:location.href = '//archive.today/?run=1&url=' + location.href.split('?')[0];
Open with 12ft.io
javascript:location.href = '//12ft.io/proxy?q=' + location.href.split('?')[0];
Search Wayback Machine
javascript:location.href = '//web.archive.org/web/*/' + location.href.split('?')[0];
Urban Dictionary Highlighted Text Lookup
javascript:(function()%7Bq=document.getSelection();%20if(!q)%7Bvoid(q=prompt('Slang%20to%20look%20up:',''))%7D;%20if(q)location.href='http://www.urbandictionary.com/define.php?term=%27+encodeURI(q)%7D)()
Urban Dictionary Highlighted Text Lookup (unescaped for readability)
javascript:(function(){q=document.getSelection(); if(!q){void(q=prompt('Slang to look up:',''))}; if(q)location.href='http://www.urbandictionary.com/define.php?term='+encodeURI(q)})()
Is It Down
javascript:location.href = '//downforeveryoneorjustme.com/' + location.hostname;
Convert Webpage to PDF
javascript:location.href = '//www.web2pdfconvert.com#' + location.href.split('?')[0];
Whois
javascript:location.href = '//whois.domaintools.com/' + location.href.split('?')[0];
Instant Notepad
data:text/html, <html contenteditable>
Instant Notepad (Dark Mode)
data:text/html;charset=utf-8, <title>Notepad (Nightmode)</title><body contenteditable style="font-family: DejaVu;font-weight:bold;background:%231E1E1E;color:%23FFFFFF;font-size:1rem;line-height:1.4;max-width:80rem;margin:0 auto;padding:2rem;" spellcheck="false">
(post is archived)