On 05.04.2012 04:32, tomysshadow wrote:
Is it possible? I want users to set pages the script works on and save it via
cookie, then have it work on those pages.
You cannot dyamically set @include, but you can achieve the same effect by running the script on all pages but as the first step in the script check if it was one of the user selected domains. Enabling/disabling the script could either be done with cookies (set in the domain of the site) or you can store values using GM_getValue/GM_setValue, especially useful if you want to control script execution by some URL pattern, not necessarily by hostnames.

--
Klaus Johannes Rusch
[email protected]
http://klausrusch.atmedia.net/

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to