[Jslib] newbie: remove locked file? find mozilla path?
//chill
chill@collective3.com
Mon, 19 Aug 2002 22:50:38 +0100
Hi, sort of newbie here, searched for answers but found none.
I've created a checkbox which basically copies the flash plugin and
renames it, then copies it back to turn off obnoxious crap on web pages.
Works ok, unless Mozilla is using flash, which then I cannot delete the
file. Anyway around this?
Also right now I'm hardcoding the path to the plugin, but I'd prefer to
have the path relative to Mozilla. But how do I grab the location of
Mozilla? I know I can use the ChromeToPath function but is there
something better, like an environment variable I can grab?
BTW jslib rocks!
Thanks
Chris Hill