Assume I want to use in a Greasemonkey script some parameters which change from time to time. Think of URLs which should be used in statements like:
x.src = "http://www.google.com"; When the URLs change I don't want to edit them always manually in the greasemonkey scipt. Instead they should be retrieved from a text file from my local computer. The statement above should look like similar to: x.src = readlinefromfile("file:///myfolder/myparm.txt",3rd_line); If a web server is always required it could be (second best) like: x.src = readlinefromfile("http.//127.0.0.1/myfolder/myparm.txt", 3rd_line); Obviously the sample statements above do not work. How can I rewrite it for greasemonkey? Thank you Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en -~----------~----~----~----~------~----~------~--~---
