Posts that stojshic is monitoring

Subscribe to Posts that stojshic is monitoring 5 posts found

Jun 27, 2008
jcastle 1 post

Topic: Cant find script?

This brings to mind a small problem. You can't search for something if you don't know what your looking for. A filter for some scripts would be nice to get rid of some categories of scripts i.e. gaming, blogging, youTube, Facebook etc.

 
Apr 15, 2008
znerp 477 posts

Topic: Cant find script?

Sounds like you're looking for Arvid's Userscripts.org - show new comments and installs script. I love this script.

 
Oct 28, 2007
Descriptor 757 posts

Topic: Change image

I just noticed that it says that only works on HTML pages, but technically this site is HTML.
Otherwise you'd have to use document.getElementsByTagName('img').item(0). And technically you're supposed to use object to embed images in XHTML.

 
Oct 28, 2007
Descriptor 757 posts

Topic: Change image

http://developer.mozilla.org/en/docs/DOM:docume...

The logo here is document.images[0] and you can change it's .src like:
document.images[0].src = "http://www.google.com/intl/en_ALL/images/logo.gif"

or if you want to use your own offline image see: http://diveintogreasemonkey.org/patterns/add-im...

 
Oct 24, 2007
ccarpita 1 post

Topic: Need script, please help

I'm assuming, by pop-up, you mean alert-box, which will prevent re-direction? This will also make your window flash on the taskbar, I think.

You need to start a new script, set the appropriate include site, and then paste the following into your script source:

window.setInterval(checkTimers, 500);
function checkTimers() {
  for(var i=0; i < timera.length; i++){
     if(timera[i] < 2) alert ("Time's Up!");
  }
}