| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|js code to number serps?|
cool custom firefox button
| 9:37 pm on Apr 24, 2013 (gmt 0)|
one of the marvelous WWM-izens once created this totally cool button thing that when pressed, put a number next to each serp result.
i thought I'd be able to find an email or note referring to the author, but that seems to have been several machines ago and lost to time.
the thing was slick, fast and always worked.
now it doesn't.
can I post the code here to see if anyone can revise for the new FF?
thanks as always!
|brotherhood of LAN|
| 9:49 pm on Apr 24, 2013 (gmt 0)|
var inc = 0;
var x = content.document.getElementsByClassName('r');
for(i in x)
x[i].innerHTML = (++inc)+'. '+x[i].innerHTML;
I guess whoever wrote the code you referred to made a plugin out of it, giving you the ease of clicking a button.
| 10:00 pm on Apr 24, 2013 (gmt 0)|
|I tried to cut and paste here what worked...|
but it won't let me put it in... let me try that again - maybe disable codes?
err - consider me clueless on the fine points of the code.
how do I bolt what BoL into this?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved