diff --git a/content/treestyletab/hacks.js b/content/treestyletab/hacks.js index fce3a576..96adff22 100644 --- a/content/treestyletab/hacks.js +++ b/content/treestyletab/hacks.js @@ -330,15 +330,17 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override // Tab Mix Plus if (this.getTreePref('compatibility.TMP') && 'TMupdateSettings' in window) { - eval('window.TMupdateSettings = '+ - window.TMupdateSettings.toSource().replace( - /(\{aTab.removeAttribute\("tabxleft"\);\})(\})/, - - ) - ); + if (window.TMupdateSettings.toSource().indexOf('treeStyleTab') < 0) { + eval('window.TMupdateSettings = '+ + window.TMupdateSettings.toSource().replace( + /(\{aTab.removeAttribute\("tabxleft"\);\})(\})/, + + ) + ); + } eval('window.TMP_contentAreaClick = '+ window.TMP_contentAreaClick.toSource().replace(