BOOKMARKLETS (IMPORTANT!!! If you are viewing this file in Notepad, turn OFF wordwrap.) -------------------------------------------------------------------------------------------- A bookmarklet is simply javascript code entered into a bookmark for use in your browser. For each bookmarklet there is a description, which may be one or more lines, and the actual bookmarklet code. The code is to be placed into the location field of a custom bookmark that you create. This line always begins with "javascript:" and the code must all be on a single line. The easiest way to get the bookmarklet into a new bookmark is to drag a web page link into the bookmarks pane in the Bookmarks Sidebar, the Bookmarks menu, or the Personal Toolbar. The hard(er) way: Highlight the actual code in this page. Press CTRL+C to copy to the clipboard. In the Mozilla browser click BOOKMARKS - MANAGE BOOKMARKS (or just press CTRL+B in the browser). In the bookmarks window, Right click a folder or bookmark within your Personal Toobar. Select NEW FOLDER from the pop-up menu. "Name" the new folder "Bookmarklets." This will now appear on your Personal Toolbar (usually above the folder selected or at the bottom of the list if a bookmark is selected). Click FILE - NEW BOOKMARK. "Name" the bookmark. Tab to the LOCATION field and press CTRL+V to paste the code you copied. Hit ENTER or click OK. Then, click and drag that new bookmark up to the BOOKMARKLETS folder you created under your Personal Toolbar folder. When the BOOKMARKLETS folder is highlighted, drop the bookmark there. It will appear under that folder when you click on BOOKMARKLETS on your Personal Toolbar in the browser. Simply click the bookmark to use it. ------------------------------------------------------------------------------------------------------------------- OK - LET THE BOOKMARKLETS BEGIN!!! ------------------------------------------------------------------------------------------------------------------- SEARCHES ======== GOOGLE SEARCH CURRENT SITE - use Google to search whatever site your browser is currently on. Highlight a search term on a web page or enter one after running the bookmarklet. From: http://www.barelyfitz.com/blog/archives/2006/04/10/321/ javascript:(function(){var h,q;h=location.hostname;q=(window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);q=prompt('Search \''+h+'\' using Google:',q);if(q!=null){if(h){q='site:'+h+' '+q;}location='http://www.google.com/search?q='+encodeURIComponent(q);}})(); GOOGLE SEARCH - Highlight a search term on a web page or enter one after running the bookmarklet javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://google.com/search?query='+escape(Qr)+'&num=50' GOOGLE ALLINURL SEARCH - Highlight a word on a browser page or run the bookmarklet to be prompted to enter your search term. This one googles for your term appearing in a URL. javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://www.google.com/search?num=30&hl=en&lr=lang_en&ie=UTF-8&oe=utf-8&safe=off&q=allinurl%3A'+escape(Qr)+'&btnG=Google+Search' GOOGLE IMAGE SEARCH javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://images.google.com/images?q='+escape(Qr)+'&ie=UTF-8&oe=UTF-8&hl=en&btnG=Google+Search' GOOGLE MAP SEARCH javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://maps.google.com/maps?q='+escape(Qr)+'&ie=UTF-8&oe=UTF-8&hl=en&btnG=Google+Search' GOOGLE GROUP SEARCH ONLY alt.music.lightfoot - searches for keywords on only Google alt.music.lightfoot. javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://groups-beta.google.com/groups?as_q='+escape(Qr)+'&num=50&scoring=d&hl=en&ie=UTF-8&as_epq=&as_oq=&as_eq=&as_ugroup=alt.music.lightfoot&as_usubject=&as_uauthors=&lr=lang_en&as_drrb=q&as_qdr=&as_mind=1&as_minm=1&as_miny=1981&as_maxd=4&as_maxm=3&as_maxy=2005&safe=off' GOOGLE SEARCH EDMULLEN.NET - searches for the keywords only on edmullen.net javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://www.google.com/search?ie=UTF-8&oe=UTF-8&q='+escape(Qr)+'&num=50'+'&btnG=Search&domains=http%3A%2F%2Fed.mullen.home.comcast.net&sitesearch=http%3A%2F%2Fed.mullen.home.comcast.net' GOOGLE GROUP SEARCH ALL - searches for keywords on all Google groups. javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&safe=off&q='+escape(Qr)+'&btnG=Google+Search&meta=' GOOGLE US GOVERNMENT SEARCH javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://www.google.com/unclesam?num=30&restrict=unclesam&hl=en&lr=lang_en&ie=ISO-8859-1&safe=off&q='+escape(Qr)+'&btnG=Google+Search' GOOGLE MICROSOFT SEARCH - searches for the keywords only on microsoft.com javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now! or enter keywords to search microsoft.com',''))};if(Qr)location.href='http://www.google.com/search?as_q='+escape(Qr)+'&num=50&hl=en&ie=UTF-8&oe=UTF-8&btnG=Google+Search&as_epq=&as_oq=&as_eq=&lr=lang_en&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=microsoft.com&safe=off' GOOGLE MOZILLA.ORG SEARCH - searches for keywords only on mozilla.org javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://www.google.com/search?as_q='+escape(Qr)+'&num=50&hl=en&ie=UTF-8&oe=UTF-8&btnG=Google+Search&as_epq=&as_oq=&as_eq=&lr=lang_en&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=mozilla.org&safe=off' MAKE SEARCH Bookmarklet - go to bookmarklets.com for explanation javascript:void(location.href='http://bookmarklets.com/mk.phtml?'+location.href) PC WORLD FIND BY NUMBER IN MAGAZINE - simply enter one of those blue numbers in a PC World magazine article, no need to enter the whole URL javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://find.pcworld.com/'+escape(Qr) ------------------------------------------------------------------------------------------------------------------- LOOKUPS ======= ACRONYM LOOKUP javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Acronym search - select text first if you like!',''))};if(Qr)location.href='http://www.acronymfinder.com/af-query.asp?String=exact&Acronym='+escape(Qr)+'&Find=Find' FIND DOMAIN OWNER javascript:(function(){var h,p; h = location.host.split('.'); p = h.length; if (h[p-1].match(/com$|net$|org$|edu$/i)) { location = 'http://www.netsol.com/cgi-bin/whois/whois?SearchType=do&STRING=' + h[p-2] + '.' + h[p-1]; } else { alert('This bookmarklet can only look up owners for .com, .net, .org, and .edu domains.'); } void(0); })(); Dictionary Search-1 - using http://dictionary.reference.com javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://dictionary.reference.com/search?q='+escape(Qr) Merriam Webster Search - dictionary search javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Enter word to find in Merriam-Webster Dictionary:',''))}if(Qr)location.href='http://www.m-w.com/cgi-bin/dictionary?'+escape(Qr)+' ' Search Biography javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Last name...',''))};if(Qr)location.href='http://search.biography.com/bio_search.pl?name='+escape(Qr) Search Roget's Online Thesaurus javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://thesaurus.reference.com/search?q='+escape(Qr) javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Select text first or enter keywords now!',''))};if(Qr)location.href='http://en.wikipedia.org/wiki/Special:Search?search='+escape(Qr)+'&fulltext=Search' ------------------------------------------------------------------------------------------------------------------- Make a Tiny URL - Passes current page URL to http://tinyurl.com and automatically makes a shorter URL you can copy/paste into a message. javascript:void(location.href='http://tinyurl.com/create.php?url='+location.href) ------------------------------------------------------------------------------------------------------------------- PASSWORD ======== REMEMBER PASSWORD - allows password storage on sites that use the [autocomplete="OFF"] to prevent PW saving - invoke bookmarklet first, then enter your info. javascript:(function(){var ca,cea,cs,df,dfe,i,j,x,y;function n(i,what){return i+" "+what+((i==1)?"":"s")}ca=cea=cs=0;df=document.forms;for(i=0;i%22; Open in Firefox - from Mozilla open the current URL in Firefox. NOTE! - See http://edmullen.net/mozilla/openie.html for important usage information! Open in Opera - from Mozilla or Firefox open the current URL in Opera. NOTE! - See http://edmullen.net/mozilla/openie.html for important usage information! ------------------------------------------------------------------------------------------------------------------- MISCELLANEOUS ============= W3C Validate Highlighted or Entered URL javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Highlight a URL first or paste one in here!',''))};if(Qr)location.href='http://validator.w3.org/check?uri='+escape(Qr) W3C Validate Current Page javascript:void(window.location='http://validator.w3.org/check?uri='+escape(window.location)) More Info About - go to bookmarklets.com for explanation javascript:if(frames.length>0){F=' (Open frame in new window first.)'}else{F=''}Q=document.getSelection();if(!Q){void(Q=prompt('No text selected on page.'+F+'\n\nKeywords...?',''))};if(Q)location.href='http://bookmarklets.com/moreinfo.phtml?q='+escape(Q) Go To Selected URL - highlight a valid URL first! javascript:if(frames.length>0){alert('Frames!')}else{ulBV3pQy=document.getSelection();if(ulBV3pQy!=''){location.href=ulBV3pQy.replace(/\042/g,'').replace(/\047/g,'').replace(/\s/g,'')}else{alert('Select text on page like:\n http://www.domain.com...')}} Split browser tab into two. Prompts for URLs. Mozilla only. javascript:A14nH=location.href;L3f7=prompt('Choose File 1',A14nH);R1Gh7=prompt('Choose File 2',L3f7);if(L3f7&&R1Gh7){Fr4Q='\n';Fr4Q+='\n';Fr4Q+='';with(document){write(Fr4Q);void(close())}}else{void(null)} Show robots.txt for this Domain javascript:void(location.href='http://' + location.host + '/robots.txt') Page Freshness? javascript:if(frames.length<1){alert('The server indicates that the page was last modified: ' + window.document.lastModified)}else{alert('Page is framed. Use version of bookmarklet for frames. (bookmarklets.com)')} Statusbar Shows URL javascript:function G(x){var i,j,F,y;if(x.length<1){y=x.document.links;for(i=0;i