mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-21 22:57:31 +09:00
Bug 1288557 - Part 1: Replace custom exceptions dialog with usage of permissions
This commit is contained in:
parent
fd1ae7e583
commit
997e7cf404
3 changed files with 20 additions and 6 deletions
|
|
@ -131,9 +131,21 @@ var gSecurityPane = {
|
||||||
*/
|
*/
|
||||||
showPasswordExceptions: function ()
|
showPasswordExceptions: function ()
|
||||||
{
|
{
|
||||||
|
let bundlePrefs = document.getElementById("bundlePreferences");
|
||||||
|
let params = {
|
||||||
|
blockVisible: true,
|
||||||
|
sessionVisible: false,
|
||||||
|
allowVisible: false,
|
||||||
|
hideStatusColumn: true,
|
||||||
|
prefilledHost: "",
|
||||||
|
permissionType: "login-saving",
|
||||||
|
windowTitle: bundlePrefs.getString("savedLoginsExceptions_title"),
|
||||||
|
introText: bundlePrefs.getString("savedLoginsExceptions_desc")
|
||||||
|
};
|
||||||
|
|
||||||
document.documentElement.openWindow("Toolkit:PasswordManagerExceptions",
|
document.documentElement.openWindow("Toolkit:PasswordManagerExceptions",
|
||||||
"chrome://passwordmgr/content/passwordManagerExceptions.xul",
|
"chrome://browser/content/preferences/permissions.xul",
|
||||||
"", null);
|
null, params);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ popuppermissionstext=You can specify which websites are allowed to open pop-up w
|
||||||
popuppermissionstitle=Allowed Sites - Pop-ups
|
popuppermissionstitle=Allowed Sites - Pop-ups
|
||||||
invalidURI=Please enter a valid hostname
|
invalidURI=Please enter a valid hostname
|
||||||
invalidURITitle=Invalid Hostname Entered
|
invalidURITitle=Invalid Hostname Entered
|
||||||
|
savedLoginsExceptions_title=Exceptions - Saved Logins
|
||||||
|
savedLoginsExceptions_desc=Logins for the following sites will not be saved:
|
||||||
|
|
||||||
#### Master Password
|
#### Master Password
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue