mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -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 */
|
/** @hidden */
|
||||||
//#content
|
//#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)
|
const aucmds = await config.getAsync("autocmds", cmdType)
|
||||||
if (!aucmds) return
|
if (!aucmds) return
|
||||||
const ausites = Object.keys(aucmds)
|
const ausites = Object.keys(aucmds)
|
||||||
|
@ -4560,7 +4560,7 @@ export function firefoxsyncpush() {
|
||||||
|
|
||||||
/** @hidden */
|
/** @hidden */
|
||||||
//#background_helper
|
//#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 */
|
/** @hidden */
|
||||||
//#background_helper
|
//#background_helper
|
||||||
export function getAutocmdEvents() {
|
export function getAutocmdEvents() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue