pull down to refresh
It does!
- Copy the code from this post.
- Create a new bookmark for this page with Ctrl+d.
- Edit the bookmark URL to the code, and the title to whatever you want.
- Open any website.
- Click on the bookmark.
- Profit.
reply
Yeah, did work for me on Linux and Brave, very cool!
But I noticed it doesn't work when you open the bookmark in a new tab. URL will then be about:blank.
But it's still really cool for how simple it is!
reply
I've got you:
javascript:(function(){window.open("https://stacker.news/~bitcoin/post?type=link&url="+encodeURIComponent(document.location)+"&title="+encodeURIComponent(document.title),"_blank")})();This one will instead open the submission in a new tab. So you won't open the bookmark for a new tab, but the submission page will.
reply
🤯
why didn't I think of that haha
edit: btw, if you don't include ~bitcoin in the URL, it will still work but the user can select a territory. Might make more sense.
reply
I'm sure there's a lot more that can be done with this concept of bookmarklets. Automating submissions was the obvious one, and very useful for me.
reply
Doesn’t work in brave sadly