Go Back   Google Chrome Forums > Google Chrome > Chrome Plugins


http://chromeplugins.org/frwrdicon.jpg
Top Tip : Click here to Boost Your PC & Chrome Browsing Speed
Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2009, 03:57 PM
Junior Member
 
Join Date: Mar 2009
Posts: 1
Lightbulb Bookmarklet for PageRank

Copy and paste this into the place where the URL for a bookmark normally goes:

Code:
javascript:void((function(){var%20a=location.href;location.href="google.com/search?client=navclient-auto&ch=6-1484155081&features=Rank&q=info:"+escape(a);})())
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-05-2009, 07:33 AM
Member
 
Join Date: Apr 2009
Location: Illinois
Posts: 49
Send a message via AIM to L1ke 20 N1njas Send a message via MSN to L1ke 20 N1njas Send a message via Yahoo to L1ke 20 N1njas
Default

Nice job. I love PageRank, and miss the Google Toolbar...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-05-2009, 01:13 PM
Stamga's Avatar
Super Moderator/Designer
 
Join Date: Mar 2009
Location: Qc, Canada
Posts: 599
Send a message via MSN to Stamga
Default

Thanks man!
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-05-2009, 06:34 PM
Member
 
Join Date: Apr 2009
Location: Illinois
Posts: 49
Send a message via AIM to L1ke 20 N1njas Send a message via MSN to L1ke 20 N1njas Send a message via Yahoo to L1ke 20 N1njas
Default

Is there anyway to make it open the pagerank page in a new tab? Or even a new window?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 04-11-2009, 01:44 AM
Waha's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Oregon
Posts: 601
Default

It didn't work initially, but the only problem was that you have to pass http:// when settings location.href or it will assume you meant a subdirectory of the site you're on for some reason. So what worked for me was:
Code:
javascript:void((function(){var%20a=location.href;location.href="http://google.com/search?client=navclient-auto&ch=6-1484155081&features=Rank&q=info:"+escape(a);})())
For opening it in a new window try:
Code:
javascript:void((function(){var%20a=location.href;window.open("http://google.com/search?client=navclient-auto&ch=6-1484155081&features=Rank&q=info:"+escape(a));})())
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 04-11-2009, 01:48 AM
Waha's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Oregon
Posts: 601
Default

It didn't work initially, but the only problem was that you have to pass http:// when settings location.href or it will assume you meant a subdirectory of the site you're on for some reason. So what worked for me was:
Code:
javascript:void((function(){var%20a=location.href;location.href="http://google.com/search?client=navclient-auto&ch=6-1484155081&features=Rank&q=info:"+escape(a);})())
For opening it in a new window try:
Code:
javascript:void((function(){var%20a=location.href;window.open("http://google.com/search?client=navclient-auto&ch=6-1484155081&features=Rank&q=info:"+escape(a));})())
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 04-15-2009, 01:35 AM
Senior Member
 
Join Date: Apr 2009
Location: Qc, Canada
Posts: 495
Default

Quote:
Originally Posted by L1ke 20 N1njas View Post
Is there anyway to make it open the pagerank page in a new tab? Or even a new window?
Change it to :

Code:
javascript:void((function(){var%20a=location.href;window.open("http://www.google.com/search?client=navclient-auto&ch=6-1484155081&features=Rank&q=info:"+escape(a));})())
EDIT:

Made it even better.
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));})())
It now uses the host instead of the current href, which is usually what you want it to do.


Hope it helps,

Kyrax

Last edited by Kyrax; 04-15-2009 at 04:07 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
bookmarklet

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Translate Selected to Any Language - Bookmarklet vietnam Chrome Tips & Tricks 3 04-10-2009 02:06 PM




Chrome Central - Chrome Talk - Chrome Tips and Tricks - Chrome Plugins - Chrome Themes - Chrome Tools - Bugs and Vulnerabilities - Chrome Tech - General Chat


All times are GMT. The time now is 11:47 AM.


Powered by vBulletin® Version 3.7.4 PL1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Google Chrome and Google™ is a Trademark of Google Inc
This site chromeplugins.org is not affiliated with or sponsored by Google Inc.
Thanks: Taree SEO Forum and John