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
|
bind K tabprev
|
||||||
unbind <C-e>
|
unbind <C-e>
|
||||||
|
|
||||||
" Modular NewTab: Detect profile by initial URL and set newtab accordingly
|
" Force Tridactyl to yield new tab control to Firefox/Extensions
|
||||||
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"); } } })
|
set newtab about:newtab
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
|
|||||||
Reference in New Issue
Block a user