Socket container
From UBot Studio
(Difference between revisions)
Line 2: | Line 2: | ||
This command is a [[Socket Commands|Socket Command]]. The socket container will keep track of the cookies that result from any of the contained commands. It will also keep track of the html of the most recently loaded page. | This command is a [[Socket Commands|Socket Command]]. The socket container will keep track of the cookies that result from any of the contained commands. It will also keep track of the html of the most recently loaded page. | ||
− | You can drag commands into this container. | + | You can drag other socket commands into this container. |
== Example == | == Example == |
Latest revision as of 22:11, 30 October 2013
This command is a Socket Command. The socket container will keep track of the cookies that result from any of the contained commands. It will also keep track of the html of the most recently loaded page.
You can drag other socket commands into this container.
[edit] Example
plugin command("SocketCommands.dll", "socket container") { plugin command("SocketCommands.dll", "socket navigate", "GET", "https://secure.imdb.com/register-imdb/form-v2?ref_=nv_usr_reg_2") load html($plugin function("SocketCommands.dll", "$socket page html")) }
The command above will navigate to the given website and grab the page html for the given website to display in the main browser.
Notice that the html displayed in the browser contains no images or frills.
Keep in mind that the browser does not need to display the webpage in order for the socket commands to work.