New to scripts

in Userscripts.org discussion
Subscribe to New to scripts 5 posts, 4 voices



Tom Bowen User

Hello all. I just tried using a script for the first time. It's the TVSquad Cleaner script by HappyDave. I clicked the button to install the script and downloaded it to my downloads folder.

When I double-click to run it I get an error that says:

Script: C:\Users\Tom\Downloads\8444.user.js
Line: 8
Char: 18
Error: 'document' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

Can someone help? Like I said, I've never done this before. Thanks for any help!!

Tom

 
Joel H Scriptwright

It sounds almost like you don't have greasemonkey installed. If not, you need it to use the script; it is available at https://addons.mozilla.org/en-US/firefox/addon/748

Once you're sure greasemonkey is installed, go back to the script page and click on the link to install the script. At no point should the script end up in your usual downloads folder. Once you click on the install script link, you will be prompted with a window asking you if you would like to install this as a user script. After a few seconds, you can click install; once you do, the script should be active almost immediately (though any open pages the script applies to must be refreshed to see the changes).

Feel free to post back any further questions you have, but there is a good chance that any questions you have can be answered by visiting diveintogreasemonkey, specifically here: http://www.diveintogreasemonkey.org/install/wha...

-Joel

 
Henrik N Admin

You need to use the Firefox web browser. Then install the Greasemonkey extension (essentially a plugin), re-start Firefox, then click the "install" link again.

 
znerp Scriptwright

It seems that recently (although maybe I'm only just noticing it more recently) there have been a number of new users posting topics similar to this on the forum asking how to install scripts. Would it be possible for an admin (or whoever) to post a sticky topic that lists steps that users should take before posting a new topic; eg. ensure firefox is being used, greasemonkey is installed etc. Something with the title "NEW USERS: read here first before posting a new topic" or similar. This topic could also list other features of us.o that people wouldn't necessarily know about, eg. the details of the spam/malware topic.

 
Joel H Scriptwright

I posted a similar request here: http://userscripts.org/forums/3/topics/305 which didn't seem to get any responses. This may be due to a bad title for the thread, though. Either way, I clearly support this.

-Joel