Allow Popups

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
  
 
This command determines whether or not the browser should show pop ups, depending on the setting the command is set to.
 
This command determines whether or not the browser should show pop ups, depending on the setting the command is set to.
 +
 +
'''Allow CSS:''' Select "Yes" to enable popups on a webpage. Select "No" to disable popups on a webpage.
  
 
== Example ==
 
== Example ==

Revision as of 16:49, 25 April 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 CSS: 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.

File:PopupsYes.png


allow popups("No")
navigate("http://www.popuptest.com/popuptest3.html", "Wait")

Running the script will not allow popups to appear within the browser.

File:PopupsNo.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox