PDA

View Full Version : Bookmarklet search help



Nightfire
Mar 7th, 2007, 03:26 AM
I'm trying to find a bookmarklet that'll change all the images on a page to an image I want. Can anyone point me to a link of somewhere please?

MikeFoster
Mar 7th, 2007, 05:10 AM
Strange... but interesting ;)


javascript:(function(){for (var i = 0; i < document.images.length; ++i) {document.images[i].src="myPicURL";}})()

MikeFoster
Mar 7th, 2007, 05:12 AM
Btw... Use your own pic's URL in place of "myPicURL", then put that whole line in the href of an <A> element, then right-click on it and book-mark it :)

Nightfire
Mar 7th, 2007, 11:59 AM
Thanks :)