firefox: How to enable local javascript to read/write files on my PC?
Posted
by Nok Imchen
on Stack Overflow
See other posts from Stack Overflow
or by Nok Imchen
Published on 2010-05-17T00:14:16Z
Indexed on
2010/05/17
0:20 UTC
Read the original article
Hit count: 685
well, since greasemonkey cant read/write files from local hard disk. I've heard people suggesting Google gears but i've no idea obout gears :(
So, what i've decided is to add a
script type="text/javascript" src="file:///c:/test.js">/script>
Now, this test will use FileSystemObject to read/write file. Since, the "file:///c:/test.js" is a javascript file from local hard disk, so it should probable be able to read/write file on my local hard disk. I tried it but firefox prevented the "file:///c:/test.js" script to read/write files from local diak :(
What i want to know is: Is there any setting in firefox about:config where we can specify to let a particular script, say from localfile or xyz.com, to have read/write permission on my local disk files??
© Stack Overflow or respective owner