i think you should consider using Firefox Profile Manager instead.
but if there is a specific script you dont want to run if your IP is within
a range,
i guess you can add something like this at the top of the script
if(java.net.InetAddress.getLocalHost().getHostAddress().toString().match(/$192.168/)
{
throw "stopping script";
}
On Friday, 20 July 2012 14:18:29 UTC+2, ppgs wrote:
>
> I use the same laptop alternatively on my company LAN or my home LAN.
>
> I would like to automatically disable greasemonkey when on my corporate
> LAN.
>
> Could you add an option so that greasemonkey disables itself when
> detecting my corporate LAN. I can provide a range of IP addresses
> corresponding to my company LAN.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/greasemonkey-users/-/ao7JOywVhQQJ.
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.