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
Next revision Both sides next revision
actions:Execute_a_JavaScript_in_Browser [2021/03/27 23:55]
JMichaelTX ADD list of Front Browser supported bundle IDs
actions:Execute_a_JavaScript_in_Browser [2022/01/25 08:25]
peternlewis
Line 1: Line 1:
-{{:​actions:​javascript-icon-blue-border-round-small.png?​nolink |}} 
 ====== Execute JavaScript in Browser Actions ====== ====== Execute JavaScript in Browser Actions ======
  
Line 27: Line 26:
  
 {{:​actions:​execute-javascript-browser-action.png?​nolink|}} {{:​actions:​execute-javascript-browser-action.png?​nolink|}}
 +
 +In order to control Safari or Chrome you will need to [[assistance:​Allow_JavaScript_From_Apple_Events|Allow JavaScript from Apple Events]].
  
 ===== Options for Returning Results ===== ===== Options for Returning Results =====
Line 50: Line 51:
 var myData = document.kmvar.My_KM_Data var myData = document.kmvar.My_KM_Data
 ``` ```
-  ​+ 
 +(!) 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. 
 + 
 ===== Saving Results to Keyboard Maestro Variables ===== ===== Saving Results to Keyboard Maestro Variables =====
   ​   ​
actions/Execute_a_JavaScript_in_Browser.txt · Last modified: 2024/01/24 22:06 by peternlewis