mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Add DownloadPost to permitted autocmd events
This commit is contained in:
parent
12f1cd96a0
commit
a8736a9e82
1 changed files with 2 additions and 2 deletions
|
@ -2361,7 +2361,7 @@ if (fullscreenApiIsPrefixed) {
|
|||
|
||||
/** @hidden */
|
||||
//#content
|
||||
export async function loadaucmds(cmdType: "DocStart" | "DocLoad" | "DocEnd" | "TabEnter" | "TabLeft" | "FullscreenEnter" | "FullscreenLeft" | "FullscreenChange" | "UriChange" | "HistoryState") {
|
||||
export async function loadaucmds(cmdType: "DocStart" | "DocLoad" | "DocEnd" | "TabEnter" | "TabLeft" | "FullscreenEnter" | "FullscreenLeft" | "FullscreenChange" | "UriChange" | "HistoryState" | "DownloadPost") {
|
||||
const aucmds = await config.getAsync("autocmds", cmdType)
|
||||
if (!aucmds) return
|
||||
const ausites = Object.keys(aucmds)
|
||||
|
@ -4560,7 +4560,7 @@ export function firefoxsyncpush() {
|
|||
|
||||
/** @hidden */
|
||||
//#background_helper
|
||||
const AUCMDS = ["DocStart", "DocLoad", "DocEnd", "TriStart", "TabEnter", "TabLeft", "FullscreenChange", "FullscreenEnter", "FullscreenLeft", "UriChange", "HistoryState"].concat(webrequests.requestEvents)
|
||||
const AUCMDS = ["DocStart", "DocLoad", "DocEnd", "TriStart", "TabEnter", "TabLeft", "FullscreenChange", "FullscreenEnter", "FullscreenLeft", "UriChange", "HistoryState", "DownloadPost"].concat(webrequests.requestEvents)
|
||||
/** @hidden */
|
||||
//#background_helper
|
||||
export function getAutocmdEvents() {
|
||||
|
|
Loading…
Add table
Reference in a new issue