Fix comment

master
Jonathan Hodgson 2 years ago
parent 5a9ffd5a77
commit ec343a7fa8
  1. 2
      tridactyl/.config/tridactyl/tridactylrc

@ -141,7 +141,7 @@ command twitterredirect autocmd BeforeRequest *://twitter.com/* (e)=>{\
command stoptwitterredirect autocmddelete BeforeRequest *://twitter.com/* command stoptwitterredirect autocmddelete BeforeRequest *://twitter.com/*
twitterredirect twitterredirect
" Redirect twitter to nitter " Redirect youtube to yewtu.be
command youtuberedirect autocmd BeforeRequest *://*.youtube.com/* (e)=>{\ command youtuberedirect autocmd BeforeRequest *://*.youtube.com/* (e)=>{\
if ( e.type == "main_frame" && null == e.url.match("[?|&]noredirect=1") ){\ if ( e.type == "main_frame" && null == e.url.match("[?|&]noredirect=1") ){\
return {redirectUrl: e.url.replace("youtube.com", "yewtu.be")};\ return {redirectUrl: e.url.replace("youtube.com", "yewtu.be")};\

Loading…
Cancel
Save