mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 17:17:31 +09:00
[Basilisk] [Tabbed browser] Pref detach&tear-off of tabs.
See MoonchildProductions/Pale-Moon#1845
This commit is contained in:
parent
7827259c9f
commit
9afad4faa9
2 changed files with 9 additions and 0 deletions
|
|
@ -414,6 +414,10 @@ pref("browser.tabs.delayHidingAudioPlayingIconMS", 3000);
|
||||||
|
|
||||||
pref("browser.tabs.dontfocusfordialogs", true);
|
pref("browser.tabs.dontfocusfordialogs", true);
|
||||||
|
|
||||||
|
// Whether dragging a tab off the tab bar to tear it off into its own
|
||||||
|
// window is enabled.
|
||||||
|
pref("browser.tabs.allowTabDetach", true);
|
||||||
|
|
||||||
pref("browser.ctrlTab.previews", false);
|
pref("browser.ctrlTab.previews", false);
|
||||||
|
|
||||||
// By default, do not export HTML at shutdown.
|
// By default, do not export HTML at shutdown.
|
||||||
|
|
|
||||||
|
|
@ -6373,6 +6373,11 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if tab detaching is enabled
|
||||||
|
if (!Services.prefs.getBoolPref("browser.tabs.allowTabDetach")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Disable detach within the browser toolbox
|
// Disable detach within the browser toolbox
|
||||||
var eX = event.screenX;
|
var eX = event.screenX;
|
||||||
var eY = event.screenY;
|
var eY = event.screenY;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue