From e9a58eae57e65b082b461ec17aaf4bef9bb582f9 Mon Sep 17 00:00:00 2001 From: JustOff Date: Sat, 3 Nov 2018 18:18:25 +0200 Subject: [PALEMOON] Focus and select the first non-collapsed text element in the bookmark properties dialog --- .../palemoon/components/places/content/editBookmarkOverlay.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'application') diff --git a/application/palemoon/components/places/content/editBookmarkOverlay.js b/application/palemoon/components/places/content/editBookmarkOverlay.js index 69d7d32eb..e3d4537c7 100644 --- a/application/palemoon/components/places/content/editBookmarkOverlay.js +++ b/application/palemoon/components/places/content/editBookmarkOverlay.js @@ -222,6 +222,11 @@ var gEditItemOverlay = { } let focusElement = () => { + let elt = document.querySelector("textbox:not([collapsed=true])"); + if (elt) { + elt.focus(); + elt.select(); + } this._initialized = true; }; -- cgit v1.2.3 From 801382dd66b7edd39d43a7f85d7ccbfa8707e612 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 4 Nov 2018 17:50:52 +0100 Subject: Swap default platform state for opportunistic encryption. Tag #863 --- application/basilisk/app/profile/basilisk.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'application') diff --git a/application/basilisk/app/profile/basilisk.js b/application/basilisk/app/profile/basilisk.js index eeec29eb9..c326698de 100644 --- a/application/basilisk/app/profile/basilisk.js +++ b/application/basilisk/app/profile/basilisk.js @@ -580,6 +580,9 @@ pref("network.captive-portal-service.enabled", true); // If true, network link events will change the value of navigator.onLine pref("network.manage-offline-status", true); +// Enable opportunistic encryption by default +pref("network.http.opportunistic-encryption", true); + // We want to make sure mail URLs are handled externally... pref("network.protocol-handler.external.mailto", true); // for mail pref("network.protocol-handler.external.news", true); // for news -- cgit v1.2.3 From bb3f5cef325cc1a1e3d0d383bd34e4a35fb25c49 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 4 Nov 2018 17:59:16 +0100 Subject: Add GUI control to Pale Moon for opportunistic encryption. Pale Moon part for #863. --- application/palemoon/components/preferences/security.xul | 8 ++++++++ .../locales/en-US/chrome/browser/preferences/security.dtd | 2 ++ 2 files changed, 10 insertions(+) (limited to 'application') diff --git a/application/palemoon/components/preferences/security.xul b/application/palemoon/components/preferences/security.xul index d3d321b16..d9c3dd55d 100644 --- a/application/palemoon/components/preferences/security.xul +++ b/application/palemoon/components/preferences/security.xul @@ -49,6 +49,10 @@ + + + + + +