Run Javascript
From UBot Studio
(Difference between revisions)
(→Example) |
|||
Line 10: | Line 10: | ||
<pre> | <pre> | ||
run javascript("document.write(\"Hello Dolly!\");") | run javascript("document.write(\"Hello Dolly!\");") | ||
+ | |||
</pre> | </pre> | ||
+ | |||
+ | |||
Running the script will run the javascript code. In this example, the code simply places "Hello Dolly" into the main browser. | Running the script will run the javascript code. In this example, the code simply places "Hello Dolly" into the main browser. | ||
+ | |||
+ | |||
[[File:runjavascript.png]] | [[File:runjavascript.png]] |
Revision as of 13:34, 6 May 2013
This command runs javascript code.
Run Javascript is a Browser Command.
Javascript: Where the desired Javascript is pasted for the purpose of running within the main browser.
Example
run javascript("document.write(\"Hello Dolly!\");")
Running the script will run the javascript code. In this example, the code simply places "Hello Dolly" into the main browser.