Local xml file

26 views
Skip to first unread message

TWCrap

unread,
Feb 12, 2012, 9:25:44 AM2/12/12
to greasemonkey-users
Hy,

I'm working on a greasemonky script, with user input. What i want now,
is that the user can store the input (like a xml file) and i can
handle that file with javascript...

So what i want is that i can acces an local copy of an xml file and
can edit them (so i can put the content of the user in it).


Does anybody knows how dis can be achiefed? Or knows an better way???

Thanks in advantage ;P

Marc

dindog

unread,
Feb 13, 2012, 10:52:18 AM2/13/12
to greasemonkey-users
I don't think you can access local file but these copies of Require or
Resource, not to say edit them.
You could try save it as a string by GM_setValue through.

Anthony Lieuallen

unread,
Feb 13, 2012, 11:03:39 AM2/13/12
to greasemon...@googlegroups.com
Yes: GM_getValue / GM_setValue are the supported mechanisms for data persistence.  There is no general way to read/write files.
Reply all
Reply to author
Forward
0 new messages