Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Accessing chrome extension

by gyoi (Initiate)
on Oct 14, 2012 at 09:06 UTC ( #998938=perlquestion: print w/replies, xml ) Need Help??
gyoi has asked for the wisdom of the Perl Monks concerning the following question:

Hello everyone, I am trying to get some data from the web. I can get most of the data I need, but part of it is in a browser extension, which I am unable to read. The extension is form google chrome. When I use chrome's "Inspect Element" I can see the information I need. My questions are: 1) Is there a way in Perl to read the data of a browser extension? 2) Is there a way for me to call chrome's "Inspect Element" using perl? Thanks in advance

Replies are listed 'Best First'.
Re: Accessing chrome extension
by marto (Archbishop) on Oct 14, 2012 at 09:23 UTC
Re: Accessing chrome extension
by rpnoble419 (Pilgrim) on Oct 14, 2012 at 22:05 UTC
    You may need to try the long way around. Using the Developer tools -> Network screen, click on the "Preserve Log upon Navagation" icon. Run the extension and see what interactions the extension has with the servers. Copy these in to your Perl editor and see if you can replicate the results using LWP or one of the WWW::Mechanize modules...
      Thank you very much for your replies! both sound very promising. I think I will start with trying to run the add on from Perl and if that does not work, I will move to Firefox. Thanks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://998938]
Approved by Athanasius
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2018-05-20 16:53 GMT
Find Nodes?
    Voting Booth?