views:

247

answers:

1

I need to hide an element on the page using greasemonkey before it loads (so that it's never visible).

At the moment I'm @requireing jQuery 1.3.2 which I'm reasonably familiar with, but I'm unsure how it interacts with greasemonkey so I don't know how to pull this off!

Many thanks,

JP

A: 

Greasemonkey cannot do this for you, this is one of the scenarios where you should use a userstyle.

A lot of ppl who make userscripts also make a userstyle that can go along with the userscript which will change css styles before the page load, which makes a better user experience. Usually they upload their userscript to userscripts.org and add a link in the description to the associated userstyle on userstyles.org.

Erik Vold