]> gitweb.michael.orlitzky.com - firefox-user-prefs.git/commitdiff
ui: open all popups in a tab with the full user interface
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 13 Aug 2023 00:52:36 +0000 (20:52 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 13 Aug 2023 00:52:36 +0000 (20:52 -0400)
ui

diff --git a/ui b/ui
index 78ba578601a2605fce5cf969bf173aed92126f72..5a33a5e1fea87297aeb6e91e7d90ee9f20b99796 100644 (file)
--- a/ui
+++ b/ui
@@ -56,3 +56,21 @@ user_pref("browser.download.start_downloads_in_tmp_dir", true);
  *
  */
 user_pref("permissions.default.shortcuts", 2);
+
+
+/* Open all popups in a tab with the full user interface.
+ *
+ * Many javascript "links" open a popup window with a crippled user
+ * interface. This is a security risk, and infuriating. It used to be
+ * possible to override the website's preference, but Mozilla removed
+ * that ability. Instead we have to force these links to open in a new
+ * tab within the existing window, which already has a non-cripped
+ * user interface.
+ *
+ * References:
+ *
+ * 1. https://support.mozilla.org/en-US/questions/1290971
+ * 2. https://kb.mozillazine.org/Browser.link.open_newwindow.restriction
+ *
+ */
+user_pref("browser.link.open_newwindow.restriction", 0);