3 ms·
I use a kinda hacky bit of JS to do a number of actions based on the current URL. I create bookmarks like this, and set a keyword (this one is 'gt', for Google
by invalidator 3y ago
I use a kinda hacky bit of JS to do a number of actions based on the current URL. I create bookmarks like this, and set a keyword (this one is 'gt', for Google Translate):
javascript:location="https://translate.google.com/translate?hl=&sl=auto&tl=en&u="+location
On any page, I can type ctrl-L (select address bar), gs, enter, and I get the page translated to English.
A couple more:
Wayback machine: javascript:location="https://archive.md/submit/?url="+location
12 foot ladder: javascript:location="https://12ft.io/proxy?q="+location