modified: libbrowz.js

This commit is contained in:
Sam Sneed 2024-08-13 18:12:36 -05:00
parent dda48fc695
commit 252984a504

View file

@ -57,6 +57,7 @@ function go() {
const replacement = "https://search.sparksammy.com/search.php?q=$1&p=0&t=0"; const replacement = "https://search.sparksammy.com/search.php?q=$1&p=0&t=0";
// Perform the replacement // Perform the replacement
url = url.replace(pattern, replacement); url = url.replace(pattern, replacement);
console.log(url)
} 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")
} else if (url.includes("google.com") && !url.includes("maps") && !url.includes("news") && !url.includes("webstore") && !url.includes("drive") && !url.includes("docs") && !url.includes("sheets") && !url.includes("slides") && !url.includes("mail")) { } else if (url.includes("google.com") && !url.includes("maps") && !url.includes("news") && !url.includes("webstore") && !url.includes("drive") && !url.includes("docs") && !url.includes("sheets") && !url.includes("slides") && !url.includes("mail")) {