Am 06.02.2012 18:40, schrieb Anonymous Usercript writer:
document.getElementyById("masthead-container");

Sorry, my fault, there was a typo in my email: It's getElementById not getElementyById (the y is wrong there). Guess I should look at my code thrice next time... Sorry again.

Two tools that might come in handy for you next time you write a userscript:
The error console of Firefox (Strg+Shift+J). It would likely have shown an entry like "getElementyById is not a function of document, xyz_scriptname.user.js in line 56". Usually the messages are at least telling a bit and usually giving a good point to start debugging at. If you need to paste code anyway: www.pastebin.com is a great page for pasting code snippets including syntax highlighting, which is appreciated if you have long scripts. You likely know but userscripts are JavaScript (just mentioning that in case you're not sure).


Chris

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to