Marzupilami

Open URL in Chrome popup window?

3 posts in this topic

Hi! As the title says I wonder if there's any way make my script open an URL in a Chrome popup window instead of the usual Chrome window or tab?

Share this post


Link to post
Share on other sites



I think there is not an option in chrome like that on chrome. I think you should use javascript wirte an html and call chrome with your file as parameter. in the html you could put something like this:

 

<head>
  <script type="text/javascript" language="javascript">
window.open('Your url here to open as popup window','A popup window', 'fullstrcreen=yes,toolbar=yes, scrollbars=yes, resizable=yes');
window.close();
</script>
</head>

Saludos

Share this post


Link to post
Share on other sites

Hi Friends,

We've a good news. we can handle Chrome Pop-up using the below piece of code.

---------------------------------------------------------------------------------------------------------------------------------

ControlSend( "https://your page url.com", "", "Chrome Legacy Window", "{ESC}")
Sleep(1000)
Run("your filename.exe")

--------------------------------------------------------------------------------------------------------------------------------

Your page url - the page where you get pop up.

For Example: if you're visiting - https://www.yahoo.com/news/texas-republican-elector-not-voting-trump-i-dont-consider-this-a-protest-vote-at-all-191303114.html

And you're getting a pop, then just use  " ControlSend( "https://www.yahoo.com", "", "Chrome Legacy Window", "{ESC}") "

Your filename is the .exe file that you compiled with the autoit script.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now