diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..dfa7bf4 Binary files /dev/null and b/.DS_Store differ diff --git a/itworks.html b/itworks.html index cf5b687..40c9841 100644 --- a/itworks.html +++ b/itworks.html @@ -13,7 +13,7 @@

Welcome to Sneedium!

-

Welcome to the Sneedium Browser! We provide versions for macOS, Windows, and Linux as of the time of writing this. We hope you enjoy this browser as much as we did making it.

From all of us at Sneed Group. +

Welcome to the Sneedium Browser! You can easily compile for for macOS, Windows, and Linux as of the time of writing this. We hope you enjoy this browser as much as we did making it.

From all of us at Sneed Group.

diff --git a/libbrowz.js b/libbrowz.js index ea69466..c08a4b5 100644 --- a/libbrowz.js +++ b/libbrowz.js @@ -45,10 +45,7 @@ function go() { browserFrame = tabGroup.getActiveTab().webview let browser = tabGroup.getActiveTab() url = normalizeUrl(document.getElementById("txtUrl").value) - if (url.includes("youtube.com") || url.includes("youtu.be")) { - url = url.replaceAll("youtube.com", "invidious.nerdvpn.de") - url = url.replaceAll("youtu.be", "invidious.nerdvpn.de") - } else if (url.includes("google.com/search?q") || url.includes("google.com/?q")) { + if (url.includes("google.com/search?q") || url.includes("google.com/?q")) { // Define the URL object const serachUrlObj = new URL(url); //Get query from old url diff --git a/main.js b/main.js index a35574d..01939c3 100644 --- a/main.js +++ b/main.js @@ -34,12 +34,20 @@ proxy.listen(3129) let blocker = undefined async function enableGoodies(s) { blocker = await ElectronBlocker.fromLists(fetch, [ + "https://github.com/uBlockOrigin/uAssets/raw/refs/heads/master/filters/ubol-filters.txt", 'https://easylist.to/easylist/easylist.txt', 'https://secure.fanboy.co.nz/fanboy-annoyance.txt', 'https://easylist.to/easylist/easyprivacy.txt', 'https://easylist-downloads.adblockplus.org/antiadblockfilters.txt', 'https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt', - 'https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/adblock/pro.plus.txt' + 'https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/adblock/pro.plus.txt', + "https://github.com/yokoffing/filterlists/raw/refs/heads/main/youtube_clear_view.txt", + "https://pgl.yoyo.org/as/serverlist.php?showintro=0;hostformat=adblock", + "https://github.com/uBlockOrigin/uAssets/raw/refs/heads/master/filters/unbreak.txt", + "https://github.com/uBlockOrigin/uAssets/raw/refs/heads/master/filters/quick-fixes.txt", + "https://github.com/uBlockOrigin/uAssets/raw/refs/heads/master/filters/privacy.txt", + "https://github.com/uBlockOrigin/uAssets/raw/refs/heads/master/filters/badware.txt", + "https://github.com/uBlockOrigin/uAssets/raw/refs/heads/master/filters/filters.txt" ]) blocker.enableBlockingInSession(s); }