You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.