mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
parent
0c84485e8b
commit
149569c676
1 changed files with 1 additions and 0 deletions
|
@ -2359,6 +2359,7 @@ if (fullscreenApiIsPrefixed) {
|
|||
//#content
|
||||
export async function loadaucmds(cmdType: "DocStart" | "DocLoad" | "DocEnd" | "TabEnter" | "TabLeft" | "FullscreenEnter" | "FullscreenLeft" | "FullscreenChange" | "UriChange" | "HistoryState") {
|
||||
const aucmds = await config.getAsync("autocmds", cmdType)
|
||||
if (!aucmds) return
|
||||
const ausites = Object.keys(aucmds)
|
||||
const aukeyarr = ausites.filter(e => window.document.location.href.search(e) >= 0)
|
||||
const owntab = await ownTab()
|
||||
|
|
Loading…
Add table
Reference in a new issue