I'd like to +1 an issue with this. I have a script which uses eval() to execute code in a manner in which I have yet to find an alternate solution to.
On Jan 22, 5:42 pm, Beho Double <[email protected]> wrote: > Firefox 3.6.13 Greasemonkey 0.9.0 > > A simple script like this doesn't work ......... > > // ==UserScript== > // @name test > // @namespace http://test.free.fr > // @description test > // @include * > // ==/UserScript== > > eval("alert('bop');"); > > ....... but this script works with 2 alerts : :D > > // ==UserScript== > // @name test > // @namespace http://test.free.fr > // @description test > // @include * > // ==/UserScript== > > alert("bop"); > eval("alert('bop');"); -- 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.
