Can somebody give me a script, which opens a local file (the contents of the local file will be either 0 or 1) for reading. If it is '1' the current page should be reloaded otherwise do nothing. The script should keep checking the file for update.
On Fri, May 21, 2010 at 4:39 PM, jyothi panidarapu < [email protected]> wrote: > did anybody has written script using this > GM_getResourceText<http://wiki.greasespot.net/GM_getResourceText> > function? > > > > > On Fri, May 21, 2010 at 12:01 PM, Erik Vold <[email protected]> wrote: > >> Ah no, I forgot about that, and I was talking about a different use >> case altogether. Glad you found what you're looking for though. >> >> Erik >> >> On May 20, 11:17 pm, jyothi panidarapu <[email protected]> >> wrote: >> > Thanks! >> > >> > GM_getResourceText() >> > >> > Is this function you are talking about? >> > >> > >> > >> > >> > >> > On Fri, May 21, 2010 at 11:42 AM, Erik Vold <[email protected]> >> wrote: >> > > No. >> > >> > > But, there two ways to do this I think: >> > >> > > 1. way to work around this limitation would be to setup Apache and >> your >> > > hosts file so thathttp://your-file.lan/your-file.txtfor example. This >> > > req's that you're able to setup Apache on your machine however. >> > >> > > 2. Setup an FTP server on your machine and use that address. >> > >> > > Erik >> > >> > > On 2010-05-20, at 22:39, jyothi panidarapu < >> [email protected]> >> > > wrote: >> > >> > > Hello all, >> > >> > >> Is it possible to open a local file from GM script? I want to read a >> text >> > >> file which is locally stored on my machine. >> > >> > >> - Jyothi >> > >> > >> -- >> > >> 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]<greasemonkey-users%[email protected]><greasemonkey-users%2Bunsubs >> [email protected]> >> > >> . >> > >> For more options, visit this group at >> > >>http://groups.google.com/group/greasemonkey-users?hl=en. >> > >> > > -- >> > > 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]<greasemonkey-users%[email protected]><greasemonkey-users%2Bunsubs >> [email protected]> >> > > . >> > > For more options, visit this group at >> > >http://groups.google.com/group/greasemonkey-users?hl=en. >> > >> > -- >> > - Jyothi >> > M.Tech,CSE >> > IITMadras >> > >> > -- >> > 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]<greasemonkey-users%[email protected]> >> . >> > For more options, visit this group athttp:// >> groups.google.com/group/greasemonkey-users?hl=en. >> >> -- >> 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]<greasemonkey-users%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/greasemonkey-users?hl=en. >> >> > > > -- > - Jyothi > M.Tech,CSE > IITMadras > -- - Jyothi M.Tech,CSE IITMadras -- 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.
