Bookmarklets are small pieces of JavaScript that run in your web browser. They look like bookmarks / favorites and are also clickable, but instead of opening a web page when selected, they execute the JavaScript code they are programmed to execute.
The JavaScript snippets you’ll see below extend the functionality of your browser without requiring additional installations. They are used to speed up tasks that usually require a few clicks to complete.
You will love bookmarklets for many reasons:
- Updates are unnecessary (unless you customize).
- They are easy to customize to work exactly the way you want them to.
- System resource usage is extremely low compared to full browser add-ons.
How to use Bookmarklets
Using a bookmarklet is as easy as clicking on it. This is a customization process that can be confusing for some people.
This page hosts bookmarklets written in JavaScript form. They will not be the way you see them in the browser after “installation”, but you need to see them in order to add them to the browser window.
Here’s what to do: Highlight the bookmarklet code you want ( only code, nothing else), copy it and paste it into a new bookmark in your browser.
For example, in Chrome, right-click the bookmark bar and select Add Page. Name the bookmark, but in the URL area, paste in JavaScript. Use the “Save†button to save the bookmarklet right where you clicked.
Council. There are several situations where a bookmarklet can come in handy, so it’s a great idea to create one folder in the bookmark bar where you store them all.
Search any site
12 Best Shortcut App Search Any Site
If you are constantly browsing a certain website but hate opening it to use the search box, click this bookmarklet to search the site on Google. This allows you to enter whatever you want to find on the website in question into the pop-up window.
javascript: (function () {void (q = prompt (‘What are you looking for?’, ”)); if (q) location.href = ‘http: //www.google.com/search? q = site% 3A ‘+’ free-online-converters.com ‘+’ ‘+ escape (q)}) ()
Note. This bookmarklet needs to be edited to suit your situation. Delete free-online-converters.com and replace it with the address of the site you are researching.
View return path URL
If the webpage you want to read is no longer available, gives an error, or the website as a whole has been down, you might still be lucky to find it on the Wayback Machine
Select this bookmarklet to see if its most recent archive is on the Wayback Machine, from where you can view a page or the entire website as if it were in real time.
javascript: location.href = ‘https: // web. archive.org/web/*/’+location.href
Gmail This
If you like Gmail, you will love this email bookmarklet. Click on it while on any page to instantly open the Write field from Gmail, auto-fill the page title in the subject field, and auto-insert the URL into the text. All you have to do is reach out to him and send him.
javascript: (function () {popw = ”; Q = ”; d = document; w = window; if (d.selection) {Q = d.selection.createRange (). text;} else if (w.getSelection) {Q = w.getSelection ();} else if (d.getSelection) {Q = d.getSelection ();} popw = w. open (‘http://mail.google.com/ mail / s? view = cm & fs = 1 & tf = 1 & to = & su = ‘+ encodeURIComponent (d.title) +’ & body = ‘+ encodeURIComponent (Q) + escape (‘% 5Cn% 5Cn ‘) + encodeURIComponent (d.location) + ‘& zx = RANDOMCRAP & shva = 1 & disablechatbrowsercheck = 1 & ui = 1’, ‘gmailForm’, ‘scrollbars = yes, width = 680, height = 575, top = 175, left = 75, status = no, resizable = yes’); if (! d.all) setTimeout (function () {popw.focus ();}, 50);}) ();
Share on Facebook
The Facebook bookmarklet makes it easy to exchange links on Facebook. Visit the page you want to share with your friends, then click this bookmarklet to open the Share on Facebook page, where you can add text, tag friends, limit who can see the message, and insert emoticons before sending.
If you post a lot on Facebook, this will quickly become your friend.
javascript: var d = document, f = ‘https: //www.facebook.com/share’,l=d.location,e= encodeURIComponent, p =’. php? src = bm & v = 4 & i = 1563462283 & u = ‘+ e (l.href) +’ & t = ‘+ e (d.title); 1; try {if (! / ^ (. * .)? facebook . [^.] * $ /. test (l.host)) throw (0); share_internal_bookmarklet (p)} catch (z) {a = function () {if (! window.open (f + ‘r’ + p, ‘sharer’, ‘toolbar = 0, status = 0, resizable = 1, width = 626, height = 436 ‘)) l.href = f + p}; if (/Firefox/.test (navigator.userAgent)) setTimeout (a, 0); else {a ()}} void (0)
Bypass paid access
Paid access is the last thing you want to see when trying to read a news article, but you have hope. Using Outline.com, this bookmarklet can bypass paywalls on some websites in just a few seconds.
javascript: void (window.open (‘https://outline.com/’+document.location.href));
Council. This is just one of several methods that can help you bypass paid access.
View hidden password
Can’t remember the password your browser saved? If all you see are asterisks (which is fine), but you don’t know what they translate, click this bookmarklet to open a pop-up window that displays your password in plain text.
javascript: (function () {var s, F, j, f, i; s = “”; F = document.forms; for (j = 0; j Sharing really long URLs is not good. Use this URL shortening bookmarklet to instantly convert a page’s URL to something cleaner, courtesy of Shrunken.com javascript: void (location.href = ‘https: //www.shrunken.com/index.html? gotiTerms = 1 & submit = 1 & longUrl =’ + encodeURIComponent (location.href.replace (‘http: // ‘,’ ‘))); Some websites have right click disabled, which can be very frustrating if you want to save the image. Use this bookmarklet to remove the restriction instantly. javascript: void (document.oncontextmenu = null) Similar to the bookmarklet above, this bookmarklet allows you to highlight text on sites that don’t allow you. javascript: (function () {function R (a) {ona = “on” + a; if (window. addEventListener) window.addEventListener (a, function (e) {for (var n = e.originalTarget ; n; n = n.parentNode) n [ona] = null;}, true); window [ona] = null; document [ona] = null; if (document.body) document.body [ona] = null; } R (“click”); R (“mousedown”); R (“mouseup”); R (“selectstart”);}) () Need to login but don’t have an account? Perhaps you have been banned or you do not want to go through the registration procedure. Anyway, use this BugMeNot bookmarklet on the site in question to see if there are any public user accounts you can log in with. javascript: (function () {var url = (‘http: // www. bugmenot.com/view/’ + escape (location.hostname)); w = open (url, ‘w’, ‘location = no, status = yes, menubar = no, scrollbars = yes, resizable = yes, width = 500, height = 400, modal = yes, dependent = yes ‘); if (w) {setTimeout (‘ w.focus () ‘, 1000)} else {location = url}}) (); One easy way to upload a full size version of an image to Instagram is to use the Instantgram bookmarklet. Open the image you want to isolate from the page, and then click the bookmarklet to launch the full size version in a new tab. This bookmarklet is too long to store here on this page, so go to the Instantgram website and drag the button at the top to the bookmarks bar to use it. Saving a web page as a PDF makes sharing and storage easier. From any web page, just click this PDF bookmarklet to start converting at Web2pdfconvert.com You can download it to your computer or save it to Dropbox or Google Drive. javascript: void (window.open (‘https: //www.web2pdfconvert.com#’ + location.href)) – Enable Right Click
Enable text highlighting
Find shared logins
Download full size Instagram image
Convert page to PDF