mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-13 10:47:31 +09:00
[Pale-Moon] Remove excess whitespace.
This commit is contained in:
parent
fcab070621
commit
b6b33a6b2a
73 changed files with 1883 additions and 1883 deletions
|
|
@ -18,21 +18,21 @@ var gPrefs;
|
|||
var gUsageRequest;
|
||||
|
||||
var gPermObj = {
|
||||
image: function ()
|
||||
image: function()
|
||||
{
|
||||
if (gPrefs.getIntPref("permissions.default.image") == IMAGE_DENY) {
|
||||
return DENY;
|
||||
}
|
||||
return ALLOW;
|
||||
},
|
||||
popup: function ()
|
||||
popup: function()
|
||||
{
|
||||
if (gPrefs.getBoolPref("dom.disable_open_during_load")) {
|
||||
return DENY;
|
||||
}
|
||||
return ALLOW;
|
||||
},
|
||||
cookie: function ()
|
||||
cookie: function()
|
||||
{
|
||||
if (gPrefs.getIntPref("network.cookie.cookieBehavior") == COOKIE_DENY) {
|
||||
return DENY;
|
||||
|
|
@ -42,35 +42,35 @@ var gPermObj = {
|
|||
}
|
||||
return ALLOW;
|
||||
},
|
||||
"desktop-notification": function ()
|
||||
"desktop-notification": function()
|
||||
{
|
||||
if (!gPrefs.getBoolPref("dom.webnotifications.enabled")) {
|
||||
return DENY;
|
||||
}
|
||||
return UNKNOWN;
|
||||
},
|
||||
install: function ()
|
||||
install: function()
|
||||
{
|
||||
if (Services.prefs.getBoolPref("xpinstall.whitelist.required")) {
|
||||
return DENY;
|
||||
}
|
||||
return ALLOW;
|
||||
},
|
||||
geo: function ()
|
||||
geo: function()
|
||||
{
|
||||
if (!gPrefs.getBoolPref("geo.enabled")) {
|
||||
return DENY;
|
||||
}
|
||||
return ALLOW;
|
||||
},
|
||||
plugins: function ()
|
||||
plugins: function()
|
||||
{
|
||||
return UNKNOWN;
|
||||
},
|
||||
};
|
||||
|
||||
var permissionObserver = {
|
||||
observe: function (aSubject, aTopic, aData)
|
||||
observe: function(aSubject, aTopic, aData)
|
||||
{
|
||||
if (aTopic == "perm-changed") {
|
||||
var permission = aSubject.QueryInterface(
|
||||
|
|
@ -309,7 +309,7 @@ function initPluginsRow() {
|
|||
// fillInPluginPermissionTemplate(p.permission, p.obj) for (p of entries)
|
||||
// ];
|
||||
let permissionEntries = [];
|
||||
entries.forEach(function (p) {
|
||||
entries.forEach(function(p) {
|
||||
permissionEntries.push(fillInPluginPermissionTemplate(p.permission, p.obj));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue