[Greasemonkey] Introducing a script to manage the Google menu tabs

Lenny Domnitser ldrhcp at gmail.com
Sun Feb 12 21:52:20 EST 2006


On 2/12/06, Jason Schramm <jason.schramm at gmail.com> wrote:
> The problem with inline that I ran into was that the file name was
> either having a ? or index.php? in front of it. Also, it wasn't
> getting any includes or excludes in the settings. And the user script
> was getting the content of the page, not the script. Even though the
> page content wasn't output after the script displayed.

This is because Greasemonkey downloads scripts when you install them,
rather than using the content displayed in the browser. Since you are
using POST to generate the script, the script downloader is confused.
Try convert the form to use GET and don't include a
content-disposition header, and see if this solves the problems.

This also goes to show that REST isn't just a nice way of doing
things, but actually describes the optimal design of web services.


More information about the Greasemonkey mailing list