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);})())
This is a discussion on Bookmarklet for PageRank within the Chrome Plugins section, part of the Google Chrome category: 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);})())...
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);})())
Nice job. I love PageRank, and miss the Google Toolbar...![]()
Is there anyway to make it open the pagerank page in a new tab? Or even a new window?
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:
For opening it in a new window try: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);})())
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));})())
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:
For opening it in a new window try: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);})())
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));})())
Change it to :
EDIT: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));})())
Made it even better.
It now uses the host instead of the current href, which is usually what you want it to do.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));})())
Hope it helps,
Kyrax
Last edited by Kyrax; 04-15-2009 at 05:07 AM.