Some final fixes before next release...
This commit is contained in:
parent
afd1928f02
commit
cbc14de39d
3 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
<img src="logo.png" align="right" width="15%"/>
|
||||
|
||||
# Sneedium
|
||||
A basic web browser in Electron. ***Now with our own, functioning adblocker and privacy redirection technologies!***
|
||||
A basic web browser in Electron. ***Now with a functioning adblocker and privacy redirection technologies!***
|
||||
|
||||
Supports compiling via electron packager. Install and run it with:
|
||||
|
||||
|
@ -41,4 +41,4 @@ npm start
|
|||
|
||||
## What is Privacy Redirection Technology (PRT)?
|
||||
|
||||
This is a simple technology that replaces a bad URL with a more privacy friendly service, when we know that ADs aren't 100% blocked, or just to provide a better UX. TLDR: Clickjacking for good.
|
||||
This is a simple technology that replaces a bad URL with a more privacy friendly service, when we know that ADs aren't 100% blocked, or just to provide a better UX. TLDR: Clickjacking for the greater good.
|
||||
|
|
|
@ -26,8 +26,8 @@ function go() {
|
|||
let browser = tabGroup.getActiveTab()
|
||||
let url = normalizeUrl(document.getElementById("txtUrl").value)
|
||||
if (url.includes("youtube.com") || url.includes("youtu.be")) {
|
||||
url = url.replaceAll("youtube.com", "yewtu.be")
|
||||
url = url.replaceAll("youtu.be", "yewtu.be")
|
||||
url = url.replaceAll("youtube.com", "https://piped.video")
|
||||
url = url.replaceAll("youtu.be", "https://piped.video")
|
||||
} else if (url.includes("google.com/?q")) {
|
||||
url = url.replaceAll("google.com/?q", "startpage.com/?q")
|
||||
} else if (url.includes("https://news.google.com")) {
|
||||
|
|
BIN
logo.png
BIN
logo.png
Binary file not shown.
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 32 KiB |
Loading…
Reference in a new issue