[Greasemonkey] Script Configuration by the end-user
Julien Couvreur
julien.couvreur at gmail.com
Sun Oct 9 11:25:41 EDT 2005
GM_setValue is definitely the way to go.
The question becomes what kind of UI to present. Some options:
- put the settings in popup window generated and opened by the user script,
- same but inline floating div,
- integrate your settings in the settings page of the original website,
- integrate your settings in the main UI of the original website (if
there is a bit of room and only few/simple settings).
Cheers,
Julien
On 10/9/05, Gareth Andrew <freega at freegarethandrew.org> wrote:
> Hi Guillaume,
>
> You could use GM_setValue [1] which stores string values on the local
> machine.
>
> Gareth
>
> [1] http://diveintogreasemonkey.org/api/gm_setvalue.html
>
> On Sun, 2005-10-09 at 16:16 +0200, Guillaume JAY wrote:
> > Hello,
> >
> > I'm writing an user script for a play by web game.
> >
> > I'd like to find a way so other peoples can configure some variables
> > (like names of other player to be wary of), without having to edit the
> > script by themselves.
> >
> > I'm thinking about making a special web page, which will save a
> > cookie, which will be read by the script.
> > Is there any other way ?
> > --
> > Guillaume
> >
> > I used to drive a Heisenbergmobile, but every time
> > I looked at the speedometer, I got lost.
> > _______________________________________________
> > Greasemonkey mailing list
> > Greasemonkey at mozdev.org
> > http://mozdev.org/mailman/listinfo/greasemonkey
>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
More information about the Greasemonkey
mailing list