What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Google Updates? [just a FF ex. sorry]

Google Updates? [just a FF ex. sorry]
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: Google Updates? [just a FF ex. sorry]
quote:
Originally posted by rav0
Still wish it worked like CustomizeGoogle though
:P use this in your userjs thing then.
code:
var links = document.getElementsByTagName('a');
for(var i =0;i<links.length;i++){
var match = links[i].href.match( /\/imgres\?imgurl\=(.*?)\&imgrefurl\=(.*?)\&/ );
if(match){
var div = document.createElement('div');
var imageUrl = document.createElement('a');
var imagePage = document.createElement('a');
var spacer = document.createTextNode(' | ');

div.setAttribute('class','gi_imagetext');
div.setAttribute('style','font-size:10px;');
imageUrl.setAttribute('href',decodeURI(match[1]));
imagePage.setAttribute('href',decodeURI(match[2]));
imageUrl.innerHTML = 'Origin Image';
imagePage.innerHTML = 'Origin Page';

div.innerHTML = '[ ';
div.appendChild(imageUrl);
div.appendChild(spacer);
div.appendChild(imagePage);
div.innerHTML += ' ]';

links[i].parentNode.appendChild(div)
}
}


works just like the screenshot of it earlier in this thread.

This post was edited on 09-22-2005 at 07:54 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
09-22-2005 07:51 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Google Updates? [just a FF ex. sorry] - by Chris4 on 09-21-2005 at 05:27 PM
RE: Google Updates? - by absorbation on 09-21-2005 at 05:31 PM
RE: Google Updates? - by user35870 on 09-21-2005 at 05:34 PM
RE: Google Updates? - by WDZ on 09-21-2005 at 05:36 PM
RE: Google Updates? - by hmaster on 09-21-2005 at 05:37 PM
RE: Google Updates? - by Chris4 on 09-21-2005 at 06:01 PM
RE: Google Updates? [just a FF ex. sorry] - by -dt- on 09-22-2005 at 06:35 AM
RE: RE: Google Updates? [just a FF ex. sorry] - by rav0 on 09-22-2005 at 07:24 AM
RE: Google Updates? [just a FF ex. sorry] - by -dt- on 09-22-2005 at 07:51 AM
RE: Google Updates? [just a FF ex. sorry] - by rav0 on 09-22-2005 at 08:03 AM
RE: Google Updates? [just a FF ex. sorry] - by zach on 09-22-2005 at 08:32 AM
RE: Google Updates? [just a FF ex. sorry] - by rav0 on 09-22-2005 at 09:41 AM
RE: Google Updates? [just a FF ex. sorry] - by -dt- on 09-22-2005 at 09:51 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On