
"A JavaScript script saved as a bookmark is called a 'bookmarklet,' although some people also use the term 'favelet' or 'favlet.' Bookmarklets have been around since the late 90s. The site that coined them, bookmarklets.com, even remains around today. They're simple and versatile, a fact evidenced by most of the bookmarklets listed on the aforementioned site are still working today despite being untouched for over two decades."
"While bookmarklets have fallen a bit to the wayside in more recent years as browsers have grown more capable and dev tools have matured, they're still a valuable tool in any web developer's arsenal. They're simple but capable, and no additional software is needed to create or use them."
"Bookmarklets are extremely easy to make. You write a script in exactly the same manner you would if writing it for the browser console. You then save it as a bookmark, prefixing it with javascript: which designates it for use in the browser URL bar."
Bookmarklets are JavaScript scripts saved as browser bookmarks, prefixed with 'javascript:' in the URL bar. Originating in the late 1990s, they enable developers to execute custom scripts directly from the browser without additional software. While browser capabilities and developer tools have advanced, bookmarklets remain practical utilities for solving problems and creating graceful solutions. Creating bookmarklets involves writing standard browser console scripts and converting them into Immediately Invoked Function Expressions (IIFE) to create new scopes and avoid polluting the global namespace. Many bookmarklets from decades past continue functioning today, demonstrating their simplicity and durability.
Read at CSS-Tricks
Unable to calculate read time
Collection
[
|
...
]