From 99a64b748cfce0247d79aa8c10321a65375b9e82 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 12 Aug 2023 20:52:36 -0400 Subject: [PATCH] ui: open all popups in a tab with the full user interface --- ui | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ui b/ui index 78ba578..5a33a5e 100644 --- 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); -- 2.44.2