On Mar 15, 7:10 pm, Anthony Lieuallen <[email protected]> wrote: > On 3/14/2009 6:25 PM, Shreevatsa wrote: > > > What would be the right way to fetch a webpage and parse it? > > You might want to look at (or just @require): > > http://ecmanaut.googlecode.com/svn/trunk/lib/gm/wget.js
Thanks! My memory is very bad; each time I have to learn JavaScript and Greasemonkey from scratch, it appears. It turns out that I had asked basically the same question here about a year ago :) http://groups.google.com/group/greasemonkey-users/browse_frm/thread/ef1da493582120d0/0ddebfc880c3e1d7 And it seems I knew more then than I do now. I discovered that I was in fact doing @require of wget.js in the one script I'd written before [ http://userscripts.org/users/64073 ], and it works fine. :) It is not perceptibly any faster than loading a new iframe (even with runGM=false, div=true), but I trust it's better than anything I could write myself. :-) Thanks again, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
