mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Stop wanton verbiage from autocmds clogging up the console
This commit is contained in:
parent
813302469f
commit
2eda9b8fb2
1 changed files with 0 additions and 3 deletions
|
@ -624,15 +624,12 @@ loadaucmds()
|
|||
//@hidden
|
||||
//#content
|
||||
export async function loadaucmds(){
|
||||
console.log("AUCMDS TRIED TO RUN")
|
||||
// for some reason, this never changes from the default, even when there is user config (e.g. set via `aucmd bbc.co.uk mode ignore`)
|
||||
let aucmds = await config.getAsync("autocmds", "DocStart")
|
||||
console.log(aucmds)
|
||||
const ausites = Object.keys(aucmds)
|
||||
// yes, this is lazy
|
||||
const aukey = ausites.find(e=>window.document.location.href.includes(e))
|
||||
if (aukey !== undefined){
|
||||
console.log(aukey)
|
||||
Messaging.message("commandline_background", "recvExStr", [aucmds[aukey]])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue