[Greasemonkey] Output possibilities?

Jeremy Dunck jdunck at gmail.com
Thu May 11 14:28:49 EDT 2006


On 5/11/06, Philip Friedman - Auto Europe <philip at autoeurope.com> wrote:
> I have a script like bookburro (thanks Jesse and Britt, if you see this)
> which builds an overlaid div element containing a few tables of 6-8 columns
> and 10-100 rows. What can I do to allow the user to save these results? For
> example, a button that opened the overlay content in a new tab, would allow
> the user to keep the results around and collect more, or print, or copy. Any
> other ideas? Suggestions how to do this? Thanks.

You can save stuff to the persistent store (GM_getValue, GM_setValue),
then @include a fake about: page, such as
about:blank?greasemonkey/your.namespace/your.user.js, upon which you
can output whatever you want.

Does that fit your needs?


More information about the Greasemonkey mailing list