fix gmail

This commit is contained in:
NodeMixaholic 2023-08-28 18:58:18 +00:00 committed by GitHub
parent 59090871c6
commit d8b1a8ca5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ function go() {
url = url.replaceAll("youtu.be", "yewtu.be") url = url.replaceAll("youtu.be", "yewtu.be")
} else if (url.includes("google.com/?q")) { } else if (url.includes("google.com/?q")) {
url = url.replaceAll("google.com/?q", "startpage.com/?q") url = url.replaceAll("google.com/?q", "startpage.com/?q")
} else if (url.includes("google.com") && !url.includes("maps") && !url.includes("news") && !url.includes("webstore")) { } else if (url.includes("google.com") && !url.includes("maps") && !url.includes("news") && !url.includes("webstore") && !url.includes("mail")) {
url = url.replaceAll("google.com", "startpage.com") url = url.replaceAll("google.com", "startpage.com")
} else if (url.includes("https://news.google.com")) { } else if (url.includes("https://news.google.com")) {
url = url.replaceAll("https://news.google.com", "http://68k.news") url = url.replaceAll("https://news.google.com", "http://68k.news")