Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 7 of 7

This is a discussion on Useful Bookmarklets within the Chrome Plugins section, part of the Google Chrome category: Here is a list of bookmarklets and search engines that I have. I hope that we can compile a great ...


  1. #1
    Tiby312 is offline Junior Member
    Join Date
    May 2009
    Posts
    11

    Default Useful Bookmarklets and Search Engines

    Here is a list of bookmarklets and search engines that I have. I hope that we can compile a great list of useful bookmarklets and search engines in this thread.

    Discovery
    -Open a random page from Delicious in current tab
    Code:
    http://delicious.com/recent?min=10&random=1
    -Open a random article from Wikipedia in current tab
    Code:
    http://en.wikipedia.org/wiki/Special:Random
    -Open a random page from reddit in current tab
    Code:
    http://www.reddit.com/random
    -Open a random page from digg in current tab
    Code:
    http://digg.com/random
    Information
    -Open Delicious history page for the current page in new tab
    Code:
    javascript:void(window.open('http://delicious.com/url?v=4&url='+document.location.href.substring(7)));
    -Open Stumbleupon review page for the current page in new tab
    Code:
    javascript:void(window.open('http://www.stumbleupon.com/url/'+document.location.href.substring(7)));
    -Open WOT score card for the current page in new tab
    Code:
    javascript:void(window.open('http://www.mywot.com/en/scorecard/'+document.location.href.substring(7)));
    -Open Alexa review page for the current page in new tab
    Code:
    javascript:void(window.open('http://www.alexa.com/siteinfo/'+document.location.href.substring(7)));
    -Open Mcaffee Site Advisor page for the current page in new tab
    Code:
    javascript:void(window.open('http://siteadvisor.com/sites/'+document.location.href.substring(7)));
    -Open Google Page Rank for current page in new tab
    Code:
    javascript:void((function(){var%20a=location.host;window.open("http://www.google.com/search?client=navclient-auto&ch=6-1484155081&features=Rank&q=info:"+escape(a));})())
    -Open Xmark review page for the current page in new tab
    Code:
    javascript:void(window.open('https://www.xmarks.com/site/'+document.location.href.substring(7)));
    -Open Google Trends data for the current page in new tab
    Code:
    javascript:void(window.open('http://trends.google.com/websites?q='+document.location.href.substring(7)));
    -Open Reddit submit/review page for the current page in new tab
    Code:
    javascript:void(window.open('http://www.reddit.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)));
    -Open Digg submit/review page for the current page in new tab
    Code:
    javascript:void(window.open('http://digg.com/submit?url='+document.location.href.substring(7)));
    Other
    -Duplicate current tab
    Code:
    javascript:void(window.open(document.location));
    -Download current youtube video page flv format
    Code:
    javascript:window.location.href='http://youtube.com/get_video?video_id='+swfArgs['video_id']+"&l="+swfArgs['l']+"&sk="+swfArgs['sk']+'&fmt_map'+swfArgs['fmt_map']+'&t='+swfArgs['t'];
    -Open potential archives of current page from the Wayback machine in new tab
    Code:
    javascript:void(window.open('http://web.archive.org/web/*/'+document.location.href.substring(7)));
    -Open Google Cache version of current page in new tab
    Code:
    javascript:void(window.open('http://www.google.com/search?q=cache:'+document.location.href.substring(7)));
    Search Engines
    -Google Search unpersonalized
    Code:
    http://www.google.com/search?&pws=0&q=%s
    -Google Image Search unpersonalized
    Code:
    http://images.google.com/images?pws=0&safe=off&q=%s
    -Ninjawords dictionary
    Code:
    http://www.ninjawords.com/%s
    -Urban Dictionary
    Code:
    http://www.urbandictionary.com/define.php?term=%s
    Last edited by Tiby312; 05-11-2009 at 10:39 AM.

  2. #2
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    Thanks for taking the time to share these with us.

    Stamga will probably add them to our list.



    EDIT: Is there a way to get a random video from youtube ?

  3. #3
    Stamga's Avatar
    Stamga is offline Super Moderator/Designer
    Join Date
    Mar 2009
    Location
    Qc, Canada
    Posts
    601

    Default

    I added a link to this page on the Chrome Extensions, Bookmarklets & Userscripts Compilation page.


  4. #4
    Tiby312 is offline Junior Member
    Join Date
    May 2009
    Posts
    11

    Default

    Some more.

    -Check to see if a site is down or if it's just you. Opens Is it just me? page for current page in new tab.
    Code:
    javascript:void(window.open('http://downforeveryoneorjustme.com/'+document.location.href.substring(7)));
    -View cookies for current page
    Code:
    javascript:alert('Cookies stored by this host or domain:\n\n' + document.cookie.replace(/; /g,'\n'));
    -Delete cookies for current page
    Code:
    javascript:(function(){C=document.cookie.split("; ");for(d="."+location.host;d;d=(""+d).substr(1).match(/\..*$/))for(sl=0;sl<2;++sl)for(p="/"+location.pathname;p;p=p.substring(0,p.lastIndexOf('/')))for(i in C)if(c=C[i]){document.cookie=c+"; domain="+d.slice(sl)+"; path="+p.slice(1)+"/"+"; expires="+new Date((new Date).getTime()-1e11).toGMTString()}})()
    -Open created TinyURL for current page in new tab
    Code:
    javascript:void(window.open('http://tinyurl.com/create.php?url='+document.location.href));
    -Make all images on a page fly around. (useless)
    Code:
    javascript:window.scrollTo(0, 0); R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName('img'); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+'px'; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+'px'}R++}setInterval('A()',5); void(0);
    Last edited by Tiby312; 05-22-2009 at 09:32 AM.

  5. #5
    Tiby312 is offline Junior Member
    Join Date
    May 2009
    Posts
    11

    Default

    Got some more:


    -Find sites similar to current page in new tab using similarsites.com
    Code:
    javascript:void(window.open('http://www.similarsites.com/sites-like/'+document.location.href.substring(7)));
    -Find sites similar to current page in new tab using similar-site.com:
    Code:
    javascript:void(window.open('http://similar-site.com/search.php?URL='+document.location.href.substring(7)));
    -Find sites similar to current page in new tab using similicio.us:
    Code:
    javascript:void(window.open('http://www.similicio.us/search.php?url='+document.location.href.substring(7)));
    -Capture screenshot of current tab in new tab using kwout.com
    Code:
    javascript:void(window.open('http://kwout.com/grab?address='+document.location.href.substring(7)));
    -Disable ads for current page using Adsweep
    Code:
    javascript:(function(){var%20s='http://www.adsweep.org/AdSweep.user.js',t='text/javascript',d=document,n=navigator,e;(e=d.createElement('script')).src=s;e.type=t;d.getElementsByTagName('head')[0].appendChild(e)})();doIt('');void('');
    -Display word count of selected text in popup
    Code:
    javascript:(function(){function%20f(d){var%20t;if(d.getSelection)t=d.getSelection();else%20if(d.selection)t=d.selection.createRange();if(t.text!=undefined)t=t.text;if(!t||t==''){var%20a=d.getElementsByTagName('textarea');for(var%20i=0;i<a.length;++i){if(a[i].selectionStart!=undefined&&a[i].selectionStart!=a[i].selectionEnd){t=a[i].value.substring(a[i].selectionStart,a[i].selectionEnd);break;}}}%20return%20t;};function%20g(d){var%20t;try{t=f(d);}catch(e){};if(!t||t==''){var%20fs=d.getElementsByTagName('frame');for(var%20i=0;i<fs.length;++i){t=g(fs[i].contentDocument);if(t&&t.toString()!='')break;}%20if(!t||t.toString()==''){fs=d.getElementsByTagName('iframe');for(var%20i=0;i<fs.length;++i){t=g(fs[i].contentDocument);if(t&&t.toString()!='')break;}}}return%20t;};var%20t=g(document);if(!t||t=='')alert('Please%20select%20some%20text.');else%20alert('Characters:%20%20'+t.toString().length+'\nWords:%20%20'+t.toString().match(/(\S+)/g).length);})()
    Last edited by Tiby312; 06-07-2009 at 12:22 PM.

  6. #6
    Bloody_Turds is offline Senior Member
    Join Date
    Aug 2009
    Posts
    152

    Default

    Shortens Urls - The only 'bug' ive seen is it leaves your current page, if someone could re-program this to simply copy the shortened url to the clipboard, and/or bring up a popup with the new url.

  7. #7
    sulasno's Avatar
    sulasno is offline Super Moderator
    Join Date
    Sep 2008
    Location
    Bangkok
    Posts
    1,759

Similar Threads

  1. Replies: 57
    Last Post: 10-29-2015, 12:16 PM
  2. Google bookmarklets question
    By jackfusion in forum Chrome Tips & Tricks
    Replies: 1
    Last Post: 01-03-2009, 07:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •