With Firefox version 17, Firefox dropped support for E4X. E4X is what allowed us to use that (<><![CDATA[ ... ]]></>).toString ()
construct to make easy, robust, multi-line strings.
Now that E4X is no longer supported, we must refactor every bit of code that used CDATA
, to use the javascript string escape (\
). So you need to change that GM_addStyle
call to:
GM_addStyle ( " \
#suButton { \
position: fixed; \
bottom: 0px; \
left: 0px; \
margin: 0px 0px 50px 0px; \
opacity: 0.8; \
cursor: url(C:\buttercup_06.cur),url(http://www.creativeadornments.com/nephco/powerpuffgirls/cursors/ppg_01anim.gif),url(myBall.cur),pointer; \
border: 0px outset red; \
z-index: 222; \
padding: 5px 5px; \
} \
" );
Taking care with how you mix '
and "
quotes.
Also, since you are using GM_addStyle
, add // @grant GM_addStyle
to your script's metadata block so that the script continues to work with future versions of Greasemonkey and Scriptish.