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 | ||
actions:Execute_a_JavaScript_in_Browser [2022/01/25 08:25] peternlewis |
actions:Execute_a_JavaScript_in_Browser [2023/04/02 23:59] peternlewis [Using Keyboard Maestro Variables] |
||
---|---|---|---|
Line 20: | Line 20: | ||
* com.brave.Browser | * com.brave.Browser | ||
* com.vivaldi.Vivaldi | * com.vivaldi.Vivaldi | ||
+ | * com.vivaldi.Vivaldi.snapshot | ||
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. | ||
Line 51: | Line 52: | ||
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. |