Since there was no topic on the subject I decided to create this one.A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands that add new features to the browser.
Bookmarklets are unobtrusive JavaScripts stored as the URL of a bookmark in a web browser or as a hyperlink on a web page.
Bookmarklets are usually JavaScript programs. Regardless of whether bookmarklet utilities are stored as bookmarks or hyperlinks,
they add one-click functions to a browser or web page. https://en.wikipedia.org/wiki/Bookmarklet
Here are the ones I use most:
Notes:
1. The bookmark code I'm posting is the recommended for Firefox. It may not work in another browser like IE or Opera.
I recommend checking the sources for another version if it doesn't work.
2. I don't know how to wrap bookmaklets such that they can be drag and dropped into the bookmark toolbar or panel.
Google Translate to English
http://lifehacker.com/5168984/to-englis ... -one-click
Untranslatejavascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||
(document.selection%20&&document.selection.createRange&&document.selection.createRange().text));var%20e=
(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t
+'&hl=en&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u ... f)+'&hl=en&
tbb=1&ie='+e;};
Linkify (URLs to Hyperlinks)javascript:void(location.href=unescape(location.href.replace(/^.*[&\?](trurl|url|u)=/,'').replace(/[&\?].*$/,'')))
Edit Website (Like if it was a wiki)javascript:(function(){var%20D=document;%20D.body.normalize();%20F(D.body);%20function%20F(n){var%20u,A,M,R,c,x;%20i
f(n.nodeType==3)%20{%20u=n.data.search(/https?\:\/\/[^\s]*[^.,%22>\s\)\]]/);%20if(u>=0)%20{%20M=n.splitText(u);%20R=M.splitText(RegExp.lastMatch.length);%20A=document.createElement(%22A%22)
;%20A.href=%20M.data;%20A.appendChild(M);%20R.parentNode.insertBefore(A,R);%20}%20}else%20if(n.tagName!=%22STYLE%22%
20&&%20n.tagName!=%22SCRIPT%22%20&&%20n.tagName!=%22A%22)for(c=0;x=n.childNodes[c];++c)F(x);%20}%20})();
Disable Edit Websitejavascript:document.body.contentEditable%20=%20'true';%20document.designMode='on';%20void%200
Google Cachejavascript:document.body.contentEditable%20=%20'false';%20document.designMode='off';%20void%200
Enlarge Text Areasjavascript:void((function(){var%20a=location.href.replace(/^http%5C:%5C/%5C/(.*)$/,%22$1%22);location.href=%22http
://www.google.com/search?q=cache:%22+escape(a);})())
URL in Wayback Machinejavascript:(function(){var%20i,x;%20for(i=0;x=document.getElementsByTagName(%22textarea%22);++i)%20x.rows%20+
=%205;%20})()
Rewrite redirectsjavascript:(function(){window.open("http://web.archive.org/web/*/"+window.location.href);})()
javascript:(function(){var%20k,x,t,i,j,p;%20for(k=0;x=document.links[k];k++){t=x.href.replace(/[%]3A/ig,':').re
place(/[%]2f/ig,'/');i=t.lastIndexOf('http');if(i>0){%20t=t.substring(i);%20j=t.indexOf('&');%20if(j>0)t=t.subs
tring(0,j);%20p=/https?\:\/\/[^\s]*[^.,;'%22>\s\)\]]/.exec(unescape(t));%20if(p)%20x.href=p[0];%20}%20else%20if
%20(x.onmouseover&&x.onmouseout){x.onmouseover();%20if%20(window.status%20&&%20window.status.indexOf('://')!=-1)x.href=window.status;%20x.onmouseout();%20}%20x.onmouseover=null;%20x.onmouseout=null;%20}})();
Sources
http://www.bookmarklets.com/tools/categor.html
https://www.squarefree.com/bookmarklets/
http://www.imilly.com/bm.htm
http://en.gibney.org/bookmarklets/
http://www.marklets.com/Bookmarklets/Results.aspx
Do you use bookmarklets? or know another source? Well then share it!