aboutsummaryrefslogtreecommitdiff
path: root/modules/firefox.home/chrome
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-13 20:35:57 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-13 20:39:52 +0530
commitb9b036c7eb19dce1b4a996915dcfdfda18b2c6ca (patch)
tree288bd8eec45884a41251d491456e358b5803564c /modules/firefox.home/chrome
parent90862ce996ee704042333532f601eef08588722f (diff)
downloadnixos-config-b9b036c7eb19dce1b4a996915dcfdfda18b2c6ca.tar.gz
nixos-config-b9b036c7eb19dce1b4a996915dcfdfda18b2c6ca.zip
Config sync
Diffstat (limited to 'modules/firefox.home/chrome')
-rw-r--r--modules/firefox.home/chrome/customNewTab.uc.js8
-rw-r--r--modules/firefox.home/chrome/globalKeybindings.uc.js4
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)