Make your browser smarter with bookmarklets
Browsers, in general, are applications that obtain web content from a web server (HTTP, HTTPS, and other supported protocols) that they connect to, whether it’s a static or a dynamic content. They are also packed with features that maximize your productivity when you’re surfing the web, and one of those features are bookmarks. Bookmarks are a list of your favorite websites that you may often access or that you may archive it for later use, and, depending on the browser, are synchronized across devices and are able to be categorized into groups.
However, browsers also support URLs that are not HTTP and HTTPS, and one of them is javascript:, which is necessary for bookmarklets. A bookmarklet is a one-line URL that contains the minified JavaScript code that works against documents, and it can modify contents of a document and send an alert. For example, javascript:alert("Hello world!") is a URL that tells JavaScript to execute the alert function. Executing this on your browser leads to this:
Before giving you the steps on how to add a bookmarklet, you’ll need to exercise caution. Bookmarklets are JavaScript code that is executed without warning, and this code might perform malicious and/or unwanted operations, such as exfiltrating data from your session.
Chromium browsers
To add a bookmarklet on your PC with Chrome, Chromium, and Chromium-based browsers, you can usually drag a bookmarlet to your bookmarks bar. Alternatively, follow these steps:
When you click on the bookmarklet, you should see:
Alternatively, you can search for the bookmarklet, and click on the bookmarklet, like below:
Firefox
To install a bookmarklet to your Firefox browser on your PC, you can drag the bookmarklet to the bookmarks bar. Additionally, you can manually add the bookmarklet by following the steps:
You should then see the below alert message:
Chrome for Android
To install a bookmarklet to Chrome on your Android phone or tablet, follow these steps:
Tap on the bookmarklet, not a search icon, and you should see this:
It works with simple and complicated bookmarklets. Once you’ve learned how to add a bookmarklet, why not try out some of the most interesting bookmarklets, such as this?
#Android #Bookmark #Bookmarklet #chrome #Firefox #Linux #news #Tech #Technology #update







