mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-03 13:57:31 +09:00
Prevent suppressing executable warnings using the "don't ask me this again" checkbox.
A hidden preference matching the behavior of "browser.download.manager.alertOnEXEOpen" is kept, but is renamed in order to recover cases where the checkbox was used accidentally. While there, simplify the `confirmLaunchExecutable` function by converting from promises to async function. Since Basilisk moved this prompting to toolkit, we also clean up some unused duplicate strings from application/basilisk while we're there. This resolves #581
This commit is contained in:
parent
1ed60ee41b
commit
ad2c18b0f2
6 changed files with 25 additions and 53 deletions
|
|
@ -20,12 +20,12 @@ const PREFS_WHITELIST = [
|
|||
"apz.",
|
||||
"browser.cache.",
|
||||
"browser.display.",
|
||||
"browser.download.confirmOpenExecutable",
|
||||
"browser.download.folderList",
|
||||
"browser.download.hide_plugins_without_extensions",
|
||||
"browser.download.importedFromSqlite",
|
||||
"browser.download.lastDir.savePerSite",
|
||||
"browser.download.manager.addToRecentDocs",
|
||||
"browser.download.manager.alertOnEXEOpen",
|
||||
"browser.download.manager.closeWhenDone",
|
||||
"browser.download.manager.displayedHistoryDays",
|
||||
"browser.download.manager.quitBehavior",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue