Skip to content

Commit

Permalink
reduced code duplication
Browse files Browse the repository at this point in the history
Co-authored-by: NotAProton <notaproton8@gmail.com>
  • Loading branch information
davidkra230 and NotAProton authored Mar 16, 2022
1 parent 7414194 commit d5c6c97
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/js/injection_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ unsafelyNavigate=target=>{
let url="https://universal-bypass.org/bypassed?target="+encodeURIComponent(target)+"&referer="+encodeURIComponent(referer)
switch(target)//All values here have been tested using "Take me to destinations after 0 seconds."
{
case (/krnl\.ca/.exec(target)||{}).input:
url+="&safe_in=15"
break;
case (/hugegames\.io/.exec(target)||{}).input:
case (/(krnl\.ca|hugegames\.io)/.exec(target)||{}).input:
url+="&safe_in=15"
break;
}
Expand Down

0 comments on commit d5c6c97

Please sign in to comment.