Marzupilami Posted August 11, 2015 Share Posted August 11, 2015 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? Link to comment Share on other sites More sharing options...
Danyfirex Posted August 11, 2015 Share Posted August 11, 2015 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 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
sekaraju Posted December 20, 2016 Share Posted December 20, 2016 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now