This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
token:FrontBrowserJavaScript [2023/09/12 23:55] peternlewis [FrontBrowserJavaScript (v8+) Token] |
token:FrontBrowserJavaScript [2023/09/13 00:00] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== FrontBrowserJavaScript (v8+), SafariJavaScript and ChromeJavaScript Tokens ====== | + | ====== FrontBrowserJavaScript (v8+) Token ====== |
- | ===== Purpose ===== | + | The FrontBrowserJavaScript token (and related SafariJavaScript and ChromeJavaScript tokens) provides a quick and simple means to execute one line of JavaScript in a Web Browser and return the results to an action like the [[action:Set_Variable_to_Text|Set Variable to Text]] action. |
- | * Provide a quick and simple means to execute one line of JavaScript in the Front Browser, and return the results to an Action like [[action:Set_Variable_to_Text|Set Variable to Text Action]]. | + | The execution time is limited (v11.0+) to half a second, so for longer or more complex JavaScript code, use the [[actions:Execute_a_JavaScript_in_Browser|Execute JavaScript in Front Browser]] action instead. |
- | * For executing more than one line, use the [[actions:Execute_a_JavaScript_in_Browser|Execute JavaScript in Front Browser]] Action. | + | |
- | * The front browser may be the front web browser of Safari, Google Chrome, or any of the Chrome-based browsers like Brave Browser. | + | The front browser will be the most recently front Safari-like or Chrome-like web browser. |
- | * Similar Tokens exist for targeting a specific Browser. See below. | + | |
===== Format ===== | ===== Format ===== |