Google Pagerank extension (for firefox and mozilla) - 2006-10-24
This is my very first extension for firefox and mozilla :)
I converted the php code found on a forum (mobileread) [php source code here] (all thanks goes to Alex Stapleton and the other guys)
into javascript : source code to calculate the checksum of the URL
how it works ?
it acts exactly as the real googlebar on IE: calculate a checkum, send a
request to google.com (with the googlebar User-Agent string), and the reply
contains the pagerank.
See my project on mozdev: http://pagerankstatus.mozdev.org/
where you can leave a message, bug or more ... :)
Downloads:
Not enough time to continue this project, you can visit : http://pizzaseo.com/firefox-pagerank for the new version.
Firefox version: : install or download (v0.9.7 for FF0.9 to FF 2.0)
Mozilla version: : download (v0.9.4)
For people who are also looking for a googlebar with the pagerank, you may want to visit this website: PRGoogleBar, wihch is an addon for the googlebar project. The new version of this project is now using the checksum algorithm.
Updates
2006-10-24:
v0.9.7: just a repack to make it works with FireFox 2.0
2005-10-18:
v0.9.6: repack to make it work with Firefox 1.5 beta 2
2005-06-02:
v0.9.4: repack of the extension, min/max version are now 0.9/1.0+ to support FF1.1
2005-04-19:
v0.9.4: finaly done the package for Mozilla (tested with version 1.7.7). Uninstall (for mozilla only): you can try this extension: http://mozmonkey.com/extuninstaller/. it should allows you to uninstall extensions under mozilla.
2004-11-29:
v0.9.4: a little change with the urlencode function (ex: '~' was not encoded).
2004-11-09:
v0.9.3: only a rebuild with min/max version number = 0.9/1.0. So the extension works with Firefox 1.0
2004-09-15:
v0.9.2: basicaly the same version as v0.9.1 but it is using the new checksum algorithm :) thanks again to the guys for the asm/php work. i haven't tested it much, so please report any bug. (asm/php work found on mobileread.com, work done by gprm, Morptheus, Doctorow, Alex Stapleton, and javascript conversion by me)
2004-09-15:
v0.9.1: pagerank picture has changed. the pagerank number is now displayed in the picture, and the tooltip only contains the category. a tiny logo appears on the picture when a category is available. Left click on picture opens the category in a new tab window, Right click enables/disables the pagerank.
a bug fix: sometimes the pagerank switched back to n/a. it was a bug in the internal cache. i hope it is now fixed for everyone.
About the new googlebar/algorithm: i saw that Alex Stapleton is currently working on the asm->php code, so the extension should still work (at least i hope saw, but the algorithm is almost the same).
I had a email from Geoffrey Glass , who worked on a new set of icons. if you don't like mines, then visit his website: http://www.geof.net/code/pr-icons/.
2004-08-24:
John Woods sent me an email today, with the v0.9 for mozilla :) thanks you !
2004-08-20:
v0.9: many bug fixes and a new nice feature developped by R. Rajesh Jeba Anbiah.
new feature:
* display the google category, and you can directly open a newtab with that category.
* click on the pagerank picture: left mouse button will open the new tab window with the category, and right mouse button to switch the state (enable/disable)
* tooltip now shows only the category name, and pagerank number is displayed directly on the picture.
bug fixes:
* while in disabled state, firefox crashed when opening a window with a javascipt function and statusbar=0. it is now fixed.
* new filters for the 'locahost' and private ip adresses.
R. Rajesh Jeba Anbiah did a great work (thanks again :) ), and cleaned to code too.
2004-07-24:
v0.8: the enabled/disabled state is now stored in the browser's preferences. each new window will be opened with the latest state. you may have 2 windows, one with the pagerank enabled, one with the pagerank disabled.
2004-07-19:
v0.7: there was obviously a bug in v0.6 (all was working on a win98, but on my XP no pagerank is shown). the bug comes from the preferences i tried to store (to get/set the state enabled/disabled). i removed the preferences stuff (so the enable/disable thing will work per window only, until i find the bug). and i added a little picture for the disabled state. i hope this version is working for all. Mozilla version may dowload the old v0.5
2004-07-17:
* 22h40 (CET): i rebuilt v0.6, just a little bug (?) fix: it seems that the IE googlebar cuts the URL when sending the request (http://www.foo.com/index.php?var=1& ... becomes http://www.foo.com/index.php?), the checksum differs and the pagerank too. now it is fixed. i'll build the mozilla version tomorow
2004-07-17:
v0.6 out
* i implemented a dynamic cache to store the pagerank we already have from google, so that it don't sends the request more than once. (each browser instance has is own cache). there is no cache limit for the moment, so the cache will grow until you close the window. i may fix that if it's a problem but there is only 2 int stored per URL,it's not so big
* enable/disable the pagerank: you can click on the pagerank picture to enable or disable the pagerank. When disabled, the pagerank is empty, and tooltip='Disabled'; no requests are sent to google.
* i added a filter when you are on google sites, no request is sent. (the IE googlebar displays 0 anyway and it will not fill the cache for nothing)
2004-07-15:
v0.5 for firefox (mozilla version coming in a few days)
* bug fix: there was a problem with URL containing a '+', i fixed the urlencode function.
* queries are now only sent for URL begining with 'http', n/a displayed for the others (https, ftp, file,...)
2004-07-14:
i built a mozzila version (tested under windows, mozilla 1.7)
2004-07-13:
a little bug fix, v0.3 were asking several times the pagerank to google. with v0.4, only 1 request on each location change. note that the request is also done on each tab change.
2004-07-05:
i just modified the extension, every thing seems to work :)
To Do:
* store the enabled/disabled state in the prefs, because when you open a new window, the state is reseted to enabled even if it was disabled in the previous window.
|
|
|
|