If they're both using the same domain, localStorage is a better solution. Far less of a maintenance headache, since you're not trying to maintain two scripts mashed into one.

On 1/23/2011 7:03 AM, nw wrote:
Thank you for your suggestion ... since my scripts have different
includes I will make a test for window.location.href at the top.

On Jan 23, 2:59 pm, RodMcguire<[email protected]>  wrote:
What you need to do is is take both scripts and
1)  make a new script that contain both
2)  put some test at the top of it that decides which part to run.


--
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