[ADD][TRIDACTYL] Define fixamo command

Mozilla asked tridactyl's dev-team to remove this command because it is
supposedly insecure... I still want to use tridactyl on Mozilla reserved
pages so here it is again.
This commit is contained in:
Bruno BELANYI 2019-10-04 16:14:02 +02:00
parent 6dd3ffd96a
commit e5d27f459f

View file

@ -46,6 +46,10 @@ command hint_focus hint -;
" Open right click menu on links
bind ;C composite hint_focus; !s xdotool key Menu
" Allow Tridactyl and other extensions on Mozilla reserved pages
command fixamo_quiet jsb tri.excmds.setpref("privacy.resistFingerprinting.block_mozAddonManager", "true").then(tri.excmds.setpref("extensions.webextensions.restrictedDomains", '""'))
command fixamo js tri.excmds.setpref("privacy.resistFingerprinting.block_mozAddonManager", "true").then(tri.excmds.setpref("extensions.webextensions.restrictedDomains", '""').then(tri.excmds.fillcmdline_tmp(3000, "Permissions added to user.js. Please restart Firefox to make them take affect.")))
"
" URL Redirects
"