The Arcive of vBulletin Modifications Site. |
|
Google Highlight Hack Details »»
|
|||||||||||||||||||||||||
Google Highlight Hack
Description This is a simple hack that highlights keywords searched for when the user uses Google, like the Google catch system. E.g. http://72.14.203.104/search?q=cache:...k&ct=clnk&cd=1 Details
Notes This is adapted from Cal Henderson[http://code.iamcal.com] highlighter code to work with vBulletin Once some one installs this on a Google searched board I will post an example of the hack at work. History 1.0 Initial Version Last Words I hope you enjoy the hack! And don't forget to click install please ![]() Thanks, Mat Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Cool! GOOD JOB!
|
|
#3
|
|||
|
|||
|
Thanks, *click install*
|
|
#4
|
|||
|
|||
|
nutz, very cool! thanks for sharing
|
|
#5
|
||||
|
||||
|
Thnaks
![]() Thanks, Mat |
|
#6
|
||||
|
||||
|
Installed but dont highlight for me?
|
|
#7
|
|||
|
|||
|
I just installed and activated the product on CodingForums, though somehow can't get it to work. I don't see any references to google.js inside the source code of the thread pages either. How can I verify whether the product is installed correctly? In the CP everything looks to be in order, and the product is listed as active.
thanks! |
|
#8
|
||||
|
||||
|
Sorry about that wrong hook location
![]() You can reinstall the product or change the hook location your self to 'global_complete' ![]() Thanks, Mat |
|
#9
|
|||
|
|||
|
Thanks, though I think there's still a bug, as the "onload="init_google()" code still doesn't appear on showthread.php pages. I'm guessing because you're only replacing "<body>" verbatim with the new code, whereas in showthread.php, the code is "<body onload="">"
Anyhow, it might be easier just to release this as a standonly JavaScript
|
|
#10
|
||||
|
||||
|
I think the plugin just uses the bold/strenght tags or am I wrong?
|
![]() |
|
|