Eliminate unversioned configuration.

This clears all additional functions. If you want something
This commit is contained in:
James Patrick 2020-03-19 15:32:57 -04:00
parent e47f573719
commit 3afc049ba9

View File

@ -6,6 +6,9 @@
"░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
"
" Clear the config
sanitise tridactyllocal tridactylsync
alias tabsort jsb browser.tabs.query({}).then(tabs => tabs.sort((t1, t2) => t1.url.localeCompare(t2.url)).forEach((tab, index) => browser.tabs.move(tab.id, {index})))
alias tabuniq jsb browser.tabs.query({}).then(tabs => browser.tabs.remove(tabs.filter((tab, index) => tabs.slice(index + 1).find(t => t.url == tab.url)).map(tab => tab.id)))