lobste.rs
Bookmarklets Discussion
Share and discover useful bookmarklets
About Bookmarklets Discussion
A community discussion on Lobsters about bookmarklets, their usage, and sharing useful ones. Users share their favorite bookmarklets for various tasks, enhancing productivity and web browsing experience.
Categories
Topics
Discussion highlights
AI-generated summary based on Pinboard comments
Participants shared their favorite bookmarklets, emphasizing their utility for quick tasks without needing extensions. One user stated, "I end up using bookmarklets a ton," highlighting their convenience in enhancing web browsing efficiency.
Another recurring theme in the discussion was the customization of bookmarklets for specific workflows. A user mentioned, "I have a couple site-specific versions of a bookmarklet," indicating how tailored solutions can improve productivity for individual needs.
Some useful bookmarklets from the thread:
Switch Lobste.rs between production and local dev environments:
javascript:(function(){var u=window.location.href;var n=u.startsWith('https://lobste.rs/')?'http://localhost:3000/':'https://lobste.rs/';window.location.href=n+u.split('/').slice(3).join('/')})();
By Micadep on February 21, 2025
Create a URL that highlights selected text:
javascript:(function(){const t=window.getSelection().toString();const u=new URL(window.location);u.hash=':~:text='+encodeURIComponent(t);window.open(u)})();
By Micadep on February 21, 2025
Copy the current page title and URL as a Markdown link:
javascript:(function(){navigator.clipboard.writeText(`[${document.title}](${window.location.href})`)})();
By Micadep on February 21, 2025
Save the current page to the Internet Archive:
javascript:window.location='https://web.archive.org/save/'+window.location.href;
By Micadep on February 21, 2025
Copy the current page title and URL as a Markdown link:
javascript:(function(){navigator.clipboard.writeText(`[${document.title}](${window.location.href})`)})();
By Micadep on February 21, 2025