User Tools

Site Tools


actions:Execute_a_JavaScript_in_Browser

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
actions:Execute_a_JavaScript_in_Browser [2022/09/06 01:54]
peternlewis
actions:Execute_a_JavaScript_in_Browser [2023/09/12 04:50]
peternlewis
Line 6: Line 6:
 *  _Execute a JavaScript in **Front Browser**_ *  _Execute a JavaScript in **Front Browser**_
   * The "Front Browser"​ is whichever of the following is currently frontmost, or was the last web browser that was frontmost:   * The "Front Browser"​ is whichever of the following is currently frontmost, or was the last web browser that was frontmost:
-    * Google Chrome +    * Google Chrome ​or Chrome-based Browsers like Brave Browser 
-    * Safari +    * Safari or Safari-like Browsers like Safari Technology Preview
-    * Chrome-based Browsers like Brave Browser+
 *  _Execute a JavaScript in **Google Chrome**_ *  _Execute a JavaScript in **Google Chrome**_
 *  _Execute a JavaScript in **Safari**_ *  _Execute a JavaScript in **Safari**_
Line 19: Line 18:
 * com.google.Chrome.canary * com.google.Chrome.canary
 * com.brave.Browser * com.brave.Browser
 +* com.brave.Browser.beta
 * com.vivaldi.Vivaldi * com.vivaldi.Vivaldi
 * com.vivaldi.Vivaldi.snapshot * com.vivaldi.Vivaldi.snapshot
 +* com.microsoft.edgemac
  
-All of these Actions ​work the same.  The difference is in which Web Browser the JavaScript will be executed.+All of these actions ​work the same.  The difference is in which Web Browser the JavaScript will be executed.
  
 This action allows you to execute a specified JavaScript, either from a file or text entered in the Action itself, and return the results. ​ This action allows you to execute a specified JavaScript, either from a file or text entered in the Action itself, and return the results. ​
Line 52: Line 53:
 var myData = document.kmvar.My_KM_Data var myData = document.kmvar.My_KM_Data
 ``` ```
 +
 +Local and Instance variables are available, but Password variables are not.
  
 (!) Note that because your variables are passed to the web page, any other scripts running on that web page will have access them, and this could be a privacy issue if the information is misused by the web page. (!) Note that because your variables are passed to the web page, any other scripts running on that web page will have access them, and this could be a privacy issue if the information is misused by the web page.
actions/Execute_a_JavaScript_in_Browser.txt · Last modified: 2023/09/12 05:23 by peternlewis