[Greasemonkey] Long literal strings of html

Aaron Boodman zboogs at gmail.com
Sat Apr 16 12:26:04 EDT 2005

I'd really rather do this sort of thing with overlays. This approach
just seems really hacky to me. Is it just me? Convince me how this is

On 4/16/05, Julien Couvreur <julien.couvreur at gmail.com> wrote:
> On 4/13/05, Aaron Boodman <zboogs at gmail.com> wrote:
> > Yes, this behavior should be considered "unfrozen" for the immediate future.
> Aaron, even if this behavior (GM adding a script page with the user
> script inside the target page) changes, GM will still have access to
> the raw script text.
> Would you mind if I looked into implementing a GM_getScriptData(name) function?
> The code/functionality would be like Mihai's prototype a couple of
> emails back in this thread.
> My long term goal is to create a templating mechanism like JSP, ASP or
> PHP, but for creating client-side chunks of HTML really easily (no DOM
> manipulation). It could be called JHP: Javascript Hypertext
> Preprocessor (any other name ideas?), and it would allow to mix HTML
> and JS (loop code, print runtime variable,...) using the <@, <@= and
> @> tags like ASP.
> What do you think?
> Cheers,
> Julien
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey

More information about the Greasemonkey mailing list