From b9b036c7eb19dce1b4a996915dcfdfda18b2c6ca Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 13 Apr 2025 20:35:57 +0530 Subject: Config sync --- modules/firefox.home/chrome/customNewTab.uc.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/firefox.home/chrome/customNewTab.uc.js') 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'); }, -- cgit v1.3.1