token:WebBrowserTokens
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| token:WebBrowserTokens [2023/09/19 04:56] – created peternlewis | token:WebBrowserTokens [2023/09/19 04:59] (current) – peternlewis | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| The tokens come in three forms, for example `%SafariTitle%`, | The tokens come in three forms, for example `%SafariTitle%`, | ||
| - | Keyboard Maestro and Keyboard Maestro Engine must have Automation security permission to control the browser, and for most of the tokens, the browser must have `Allow JavaScript From Apple Events` | + | Keyboard Maestro and Keyboard Maestro Engine must have Automation security permission to control the browser, and for most of the tokens, the browser must have [[assistance: |
| The information is gotten from the specified web browser’s front window, or front window’s tab. You can retrieve includes: | The information is gotten from the specified web browser’s front window, or front window’s tab. You can retrieve includes: | ||
| Line 42: | Line 42: | ||
| ==== 1. Get All Text on Web Page ==== | ==== 1. Get All Text on Web Page ==== | ||
| - | `%FrontBrowserJavaScript%document.body.innerText;%` | + | `%FrontBrowserJavaScript%document.body.innerText%` |
| ==== 2. Get Full Page HTML ==== | ==== 2. Get Full Page HTML ==== | ||
| - | `%FrontBrowserJavaScript%document.getElementsByTagName(" | + | `%FrontBrowserJavaScript%document.getElementsByTagName(" |
| ==== 3. Get Text Identified by HTML tag and class ==== | ==== 3. Get Text Identified by HTML tag and class ==== | ||
| - | `%FrontBrowserJavaScript%document.querySelector(' | + | `%FrontBrowserJavaScript%document.querySelector(' |
| ===== Full List ===== | ===== Full List ===== | ||
token/WebBrowserTokens.1695099416.txt.gz · Last modified: by peternlewis
