mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
9d612014f8
80 changed files with 1267 additions and 1198 deletions
|
|
@ -292,7 +292,7 @@ var gPrivacyPane = {
|
|||
/**
|
||||
* Initialize the history mode menulist based on the privacy preferences
|
||||
*/
|
||||
initializeHistoryMode: function PPP_initializeHistoryMode()
|
||||
initializeHistoryMode: function()
|
||||
{
|
||||
let mode;
|
||||
let getVal = aPref => document.getElementById(aPref).value;
|
||||
|
|
@ -312,7 +312,7 @@ var gPrivacyPane = {
|
|||
/**
|
||||
* Update the selected pane based on the history mode menulist
|
||||
*/
|
||||
updateHistoryModePane: function PPP_updateHistoryModePane()
|
||||
updateHistoryModePane: function()
|
||||
{
|
||||
let selectedIndex = -1;
|
||||
switch (document.getElementById("historyMode").value) {
|
||||
|
|
@ -333,7 +333,7 @@ var gPrivacyPane = {
|
|||
* Update the private browsing auto-start pref and the history mode
|
||||
* micro-management prefs based on the history mode menulist
|
||||
*/
|
||||
updateHistoryModePrefs: function PPP_updateHistoryModePrefs()
|
||||
updateHistoryModePrefs: function()
|
||||
{
|
||||
let pref = document.getElementById("browser.privatebrowsing.autostart");
|
||||
switch (document.getElementById("historyMode").value) {
|
||||
|
|
@ -368,7 +368,7 @@ var gPrivacyPane = {
|
|||
* Update the privacy micro-management controls based on the
|
||||
* value of the private browsing auto-start checkbox.
|
||||
*/
|
||||
updatePrivacyMicroControls: function PPP_updatePrivacyMicroControls()
|
||||
updatePrivacyMicroControls: function()
|
||||
{
|
||||
if (document.getElementById("historyMode").value == "custom") {
|
||||
let disabled = this._autoStartPrivateBrowsing =
|
||||
|
|
@ -420,7 +420,7 @@ var gPrivacyPane = {
|
|||
/**
|
||||
* Initialize the starting state for the auto-start private browsing mode pref reverter.
|
||||
*/
|
||||
initAutoStartPrivateBrowsingReverter: function PPP_initAutoStartPrivateBrowsingReverter()
|
||||
initAutoStartPrivateBrowsingReverter: function()
|
||||
{
|
||||
let mode = document.getElementById("historyMode");
|
||||
let autoStart = document.getElementById("privateBrowsingAutoStart");
|
||||
|
|
@ -430,7 +430,7 @@ var gPrivacyPane = {
|
|||
|
||||
_lastMode: null,
|
||||
_lastCheckState: null,
|
||||
updateAutostart: function PPP_updateAutostart() {
|
||||
updateAutostart: function() {
|
||||
let mode = document.getElementById("historyMode");
|
||||
let autoStart = document.getElementById("privateBrowsingAutoStart");
|
||||
let pref = document.getElementById("browser.privatebrowsing.autostart");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue