Changing CSS before pageload with Greasemonkey
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 @require
ing 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
Greasemonkey cannot do this for you, this is one of the scenarios where you should use a userstyle.
Many people who write userscripts also create a userstyle that can go along with the userscript, which will change CSS styles before the page loads, to improve the user experience. Usually they upload their userscript to userscripts.org and add a link in the description to the associated userstyle on userstyles.org.
精彩评论