


Web extensions are incredibly user-friendly and flexible.

Navigate to the Bookmark Menu Mozilla FirefoxĮither in your bookmarks bar, or in the Bookmarks sidebar ( CTRL + B), you can right-click, then click "Add Bookmark.": Chromium The only difference is that you'll write JavaScript in the URL field instead of an HTTP/HTTPS URL. How to Create BookmarkletsĬreating a bookmarklet is almost identical to creating a regular bookmark.

They're just for demonstration, but should make the capabilities and implementations apparent. You'll find some bookmarklets I made for this article in Example Bookmarklets. You can also make bookmarks that don't utilize the context at all, such as conditionally opening a URL, or generating HTML for a new tab. Use the content of the page to open a new page.With bookmarklets, you can manipulate the current page as the function will have the context of the current tab. If you ever feel what you do is repetitive or robotic, consider the possibility of delegating the task to an actual robot. Regardless of profession, even if you've never written code before, consider what you do in your browser. The goal isn't to make scalable software, but rather to automate specialized or trivial tasks. If you aren't a developer, the idea of learning to code might be intimidating, however scripting doesn't require software engineering knowledge or design patterns. Learning how to write scripts provides many benefits, namely the huge time-savings from automating repetitive or tedious tasks. They're also known as bookmark applets, favlets, or JavaScript bookmarks.īookmarklets are natively available in all major browsers, including Mozilla Firefox and Chromium-based browsers like Chrome or Brave. Bookmarklets are browser bookmarks that execute JavaScript instead of opening a webpage.
