Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Can my Perl CGI script open a new browser tab or window?

by Corion (Patriarch)
on Dec 16, 2019 at 11:47 UTC ( [id://11110238]=note: print w/replies, xml ) Need Help??


in reply to Can my Perl CGI script open a new browser tab or window?

Yes, this is possible, but sounds like a very roundabout way of going at it.

See the target="_blank" attribute for links and (I guess) HTML forms.

See WWW::Mechanize::Chrome for a module by me which allows web scraping and running of Javascript. It needs Google Chrome or Chromium installed though.

Replies are listed 'Best First'.
Re^2: Can my Perl CGI script open a new browser tab or window?
by SergioQ (Beadle) on Dec 17, 2019 at 15:45 UTC
    Forgive my being rep repetitive, but I wanted to make sure: My Perl script is on one machine and the browser (in this case Chrome) would be on another machine. So wanted to make sure it works that way. Or does the Perl script have to be local Chrome machine??

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found