[Greasemonkey] Detecting Greasemonkey Version or extensions

John Plsek jplsek at iinet.net.au
Sun Nov 13 13:04:34 EST 2005


WHITEMARE2 wrote:

>I have a script that does not run the same in Firefox 1.0 and 1.5.  Is there a way for a script to detect which version of Firefox or Greasemonkey is running?
>
>  
>
window.navigator.vendorSub will contain the fx version - assuming that's availible in GM - I've lost track of the ins and outs for fx 1.5 + gm 0.6.x ... I'll wait until fx 1.5 is released, then worry about my scripts ;-)

J


More information about the Greasemonkey mailing list