From e25129166def74a7c6ef49d9b87478d400d231a2 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Mon, 5 Sep 2016 15:16:57 +0900 Subject: [PATCH] Remove obsolete compatibility codes for Hide Caption Titlebar Plus https://addons.mozilla.org/firefox/addon/hide-caption-titlebar-plus-sma/ Now it seems to work with TST together, without any hack. --- content/treestyletab/windowHelperHacks.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/content/treestyletab/windowHelperHacks.js b/content/treestyletab/windowHelperHacks.js index b3b8a76a..db4a8c6d 100644 --- a/content/treestyletab/windowHelperHacks.js +++ b/content/treestyletab/windowHelperHacks.js @@ -100,19 +100,6 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte sv.registerExpandTwistyAreaBlocker('tooManyTabs'); } - /** - * Hide Caption Titlebar Plus (Smart) - * https://addons.mozilla.org/firefox/addon/hide-caption-titlebar-plus-sma/ - */ - if ('HideCaption' in window && - 'do_alter' in HideCaption) { - eval('HideCaption.do_alter = '+HideCaption.do_alter.toSource().replace( - 'if (!theSettings) {', - ' if (!theSettings ||\n' + - ' gBrowser.treeStyleTab.isVertical) {' - )); - } - // Greasemonkey // https://addons.mozilla.org/firefox/addon/greasemonkey/ if (TreeStyleTabUtils.getTreePref('compatibility.Greasemonkey')) {