Since Greasemonkey can't read/write files from a local hard disk, I've heard people suggesting Google gears but I've no idea about gears.
So, I've decided 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, it should probably 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 the local disk. :(
Is there any setting in Firefox's 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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…