Fix comment
This commit is contained in:
parent
5a9ffd5a77
commit
ec343a7fa8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue