Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: WWW::Scripter eval of JQuery

by tobyink (Canon)
on Mar 05, 2012 at 23:06 UTC ( [id://957989]=note: print w/replies, xml ) Need Help??


in reply to WWW::Scripter eval of JQuery

jQuery has a lot of stuff that assumes it's running inside a traditional desktop browser. WWW::Scripter emulates that environment pretty well, but still not quite well enough to run jQuery. It might get there eventually, but it's not there yet.

There are plenty of actual desktop browsers (e.g. Konqueror - though I haven't tried its WebKit module) that can't run jQuery fully.

Looked at WWW::Mechanize::Firefox?

Replies are listed 'Best First'.
Re^2: WWW::Scripter eval of JQuery
by ait (Hermit) on Mar 06, 2012 at 02:52 UTC

    Thanks for the thorough explanation... I had the feeling that evaling JQuery might have been probably overkill for what I really need. Yep, I looked at mechanize::firefox but it seems to require firefox running with a GUI. Do you know if there is any way to run firefox without GUI or run the Gecko engine as a library, I mean much like Spidermonkey? Maybe using Xvfb or maybe Firefox itself has the ability to run GUI-less like other GUI-intensive apps?, for example Inkscape which has a console/batch mode (e.g. to convert SVG to PDF).

      Not tried this with Firefox, but many years ago I did something along these lines with OpenOffice.org to generate PDF files from various other formats. I used TightVNC Server to create a spare X11 display and ran OpenOffice.org on that.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://957989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 06:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found