Allow Popups
From UBot Studio
				
								
				(Difference between revisions)
				
																
				
				
								
				| Line 13: | Line 13: | ||
| </pre> | </pre> | ||
| + | |||
| Running the script will allow popups to appear within the browser. | Running the script will allow popups to appear within the browser. | ||
| + | |||
| [[File:popupsYes.png]] | [[File:popupsYes.png]] | ||
| + | |||
| <pre> | <pre> | ||
| Line 24: | Line 27: | ||
| </pre> | </pre> | ||
| + | |||
| Running the script will not allow popups to appear within the browser. | Running the script will not allow popups to appear within the browser. | ||
| + | |||
| [[File:popupsNo.png]] | [[File:popupsNo.png]] | ||
Revision as of 12:38, 21 May 2013
Allow Popups is a Settings Command.
This command determines whether or not the browser should show pop ups, depending on the setting the command is set to.
Allow Popups: Select "Yes" to enable popups on a webpage. Select "No" to disable popups on a webpage.
Example
allow popups("Yes")
navigate("http://www.popuptest.com/popuptest3.html", "Wait")
Running the script will allow popups to appear within the browser.
allow popups("No")
navigate("http://www.popuptest.com/popuptest3.html", "Wait")
Running the script will not allow popups to appear within the browser.
