diff options
Diffstat (limited to '')
| -rw-r--r-- | modules/firefox.home/chrome/customNewTab.uc.js | 8 | ||||
| -rw-r--r-- | modules/firefox.home/chrome/globalKeybindings.uc.js | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/firefox.home/chrome/customNewTab.uc.js b/modules/firefox.home/chrome/customNewTab.uc.js index 3a3a47e..4c8faca 100644 --- a/modules/firefox.home/chrome/customNewTab.uc.js +++ b/modules/firefox.home/chrome/customNewTab.uc.js @@ -10,6 +10,10 @@ // Managed in about:config const NEWTAB_URL_PREF = 'browser.newtab.url' + console.log('-------------------------------------------'); + console.log('-------------------------------------------'); + console.log('-------------------------------------------'); + if (!AboutNewTab) { globalThis.AboutNewTab = ChromeUtils.import('resource:///modules/AboutNewTab.jsm').AboutNewTab; } @@ -24,6 +28,10 @@ }, init() { + console.log('-------------------------------------------'); + console.log('init new tab'); + console.log('-------------------------------------------'); + module.updateNewTabURL(); Services.obs.addObserver(module.updateNewTabURL, 'newtab-url-changed'); }, diff --git a/modules/firefox.home/chrome/globalKeybindings.uc.js b/modules/firefox.home/chrome/globalKeybindings.uc.js index 204a510..d8c0f51 100644 --- a/modules/firefox.home/chrome/globalKeybindings.uc.js +++ b/modules/firefox.home/chrome/globalKeybindings.uc.js @@ -139,6 +139,10 @@ }, init(win) { + console.log('-------------------------------------------'); + console.log('init keys'); + console.log('-------------------------------------------'); + const observe = () => { Services.obs.removeObserver(observe, 'browser-window-before-show'); module.onWindowReady(win) |
