Hacker News new | past | comments | ask | show | jobs | submit login

BTW did you know that Firefox supports keywords for bookmarks OOTB?

You can set up a keyword e.g. "shb" for (code from above)

    javascript:window.location='http://sci-hub.se/'+window.location
and you can run it writing "shb" in the address bar. No need for bookmarklets.

Or how do y'all use boorkmarklets? E.g. on chrome? Is your boorkmark bar always visible?




Being green here means I must ask (ask me about poetry!):

What do I actually write in the address bar?


In firefox,

      1. Create a temporary bookmark (e.g. by pressing ctrl + D, or clicking or the star in the address bar)
      2. Open your bookmarks (e.g open the bookmark bar, or press ctrl + B)
      3. Right click on the bookmark, and choose "edit bookmark" (or right click, then press "i")
      4. Fill the "URL" field with 

            javascript:window.location='http://sci-hub.se/'+window.location

      5. Fill the "keyword" field with "shb" (or whatever you want)
That's it, whenever you write "shb" in the address bar on a page and hit ENTER, it will navigate you to

      http://sci-hub.se/ + window.location

.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: