revert(firefox): abandon tridactyl dynamic newtab, use extension
Returned to using New Tab Override extension with Tridactyl yielding control via 'set newtab about:newtab'. This proved most reliable.
This commit is contained in:
@@ -39,8 +39,8 @@
|
||||
bind K tabprev
|
||||
unbind <C-e>
|
||||
|
||||
" Modular NewTab: Detect profile by initial URL and set newtab accordingly
|
||||
js tri.browser.tabs.query({active: true, currentWindow: true}).then(tabs => { if (tabs.length > 0) { const url = tabs[0].url; if (url.includes("youtube.com")) { tri.config.set("newtab", "https://youtube.com"); } } })
|
||||
" Force Tridactyl to yield new tab control to Firefox/Extensions
|
||||
set newtab about:newtab
|
||||
'';
|
||||
|
||||
programs.firefox = {
|
||||
|
||||
Reference in New Issue
Block a user