File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 33// @description 状态栏
44// @license MIT License
55// @compatibility Firefox 137
6- // @version 0.0.4
6+ // @version 0.0.5
77// @charset UTF-8
88// @include chrome://browser/content/browser.xul
99// @include chrome://browser/content/browser.xhtml
1010// @homepageURL https://github.com/benzBrake/FirefoxCustomize/tree/master/userChromeJS
11+ // @note 0.0.5 移除 0.0.2 引入的 TabMixPlus 兼容代码
1112// @note 0.0.4 Fx139, 修复 call to Function() blocked by CSP
1213// @note 0.0.3 fx137
1314// @note 0.0.2 修正启用 TabMixPlus 扩展后看不见状态栏
1819 const MENU_LABEL = "状态栏" ;
1920
2021 window . StatusBar = {
21- delayedInit : function ( ) {
22- if ( typeof Tabmix !== "undefined" ) {
23- Tabmix . _deferredInitialized . promise . then ( ( ) => {
24- this . init ( ) ;
25- } )
26- } else {
27- this . init ( ) ;
28- }
29- } ,
3022 init : function ( ) {
3123 const toolbarElem = window . MozXULElement . parseXULToFragment (
3224 `
166158 return document . insertBefore ( pi , document . documentElement ) ;
167159 }
168160
169- window . StatusBar . delayedInit ( ) ;
161+ window . StatusBar . init ( ) ;
170162} ) ( `
171163#status-text-inner[inactive="true"] {
172164 display: none;
You can’t perform that action at this time.
0 commit comments