Fix comment

Jonathan Hodgson 3 years ago
parent c9d7ca64a7
commit d63d7749a6
  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