[greasemonkey-users] Re: Newbie problem: GM script executed upon direct browser call but not upon call from Javascript

2009-07-19 Thread Rizzo
Thanks for your swift replies. Yes, I believe the Javascript is calling the page via an XMLHttpRequest or the like, I haven't discovered where yet. The response is being parsed but not included into the actual page displayed in the browser. Thanks also for the example, it has given me some new

[greasemonkey-users] Set FireFox (add-on) as default editor ?

2009-07-19 Thread bravos
I found a nice extension for editing script, called Phoenix Editor https://addons.mozilla.org/en-US/firefox/addon/11708 It's got syntax highlighting, line numbering, and code formatting. Right now I am using Simpletext.app (os x) to edit Greasemonkey scripts, but it is horrible. Is there a way

[greasemonkey-users] Re: execute String with GM_functions

2009-07-19 Thread cc
Why do you need to use eval() in the first place? Usually, that's a sign of a design flaw somewhere. Are you trying to grab a JSON value or something? If so, there's a much safer parser available, for example, at http://www.json.org/js.html. If you absolutely must execute GM functions from