anfragment / zen Goto Github PK
View Code? Open in Web Editor NEWSimple, free and efficient ad-blocker and privacy guard for Windows, macOS and Linux
Home Page: https://zenprivacy.net
License: MIT License
Simple, free and efficient ad-blocker and privacy guard for Windows, macOS and Linux
Home Page: https://zenprivacy.net
License: MIT License
There is no locking mechanism implemented to stop config's methods from executing simultaneously, thus leading to potential data corruption. This should be fixed using sync.RWMutex
.
I would like to request the addition of the Zen application to the Chocolatey Package Manager repository. Chocolatey is a key package manager for Windows, and adding Zen to its repository would simplify the installation process for the end-users - like me.
Hi, I'd like to propose something that was probably overlooked since macOS isn't as popular. The app needs to have a toolbar icon and/or run as a service so I can quit the app and have it off my dock.
Also, how do I uninstall it? It made system-level adjustments and now if it's not running my Internet connection is completely gone.
This program is looking great, thanks for your hard work! It would be great to have it start in the tray and to be able to minimize it to the tray, possibly having it run as a service as well, so it can start on boot.
TIA
Couple thoughts on the implementation:
Hi, When I click on the start button an error appears with this text:
Failed to start proxy: install CA: system trust command: exit status 127 Cannot run program update-ca-certificates: No such file or directory
OS: Debian GNU/Linux 12 (bookworm) x86_64
DE: GNOME 43.6
CPU: AMD Ryzen 5 5600H with Radeon Graphics (12)
ca-certificates is already the newest version (20230311).
It'd be great if tray support was included (on Windows 10+), that way I don't have to keep it open all the time. I prefer having a clean taskbar.
It would be great to be able to install this application using winget
. 😄
I added some custom rules, but I can’t see any prompts on the software homepage.
In addition, can I add rules to block ads that appear when YouTube plays videos?
0.3.0
win11
No response
No response
The project would greatly benefit from the inclusion of a userscripts manager similar to that of Adguard, where the HTML page is analyzed and scripts are added to the head section. It should be compatible with all existing Tampermonkey scripts, as Adguard currently is. More information on Tampermonkey API can be found at https://www.tampermonkey.net/documentation.php. Greasemonkey scripts should also be supported, whcih as far as i know share the same API.
When I update all packages with Zen on, it says
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
error: error sending request for url (https://aur.archlinux.org/rpc): invalid HTTP version parsed
When I update all packages with Zen off, it says
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
error: error sending request for url (https://aur.archlinux.org/rpc): error trying to connect: tcp connect error: Connection refused (os error 111)
v0.3.0
Manjaro Linux
No response
No response
Example:
osascript -e 'do shell script "command_goes_here" with administrator privileges with prompt "Your custom message here"'
I'm on Debian 12, Gnome.
I installed Zen tomorrow.
After running it, all of my Brave tabs got an internet error. I refreshed them and then they loaded, but very slowly.
When I started my laptop today and opened the browser, it showed a connection lost (some kind of proxy error).
Then I started the Zen app and some working started...
And some websites are behaving abnormally, like WhatsApp (web.whatsapp.com), which keeps on looping on logging in.
Replit cannot get connected to my repls. I did reboot, but nothing works.
I removed the Zen app and its certificates from .local/../../../zen, but no success is there.
Help me in getting working internet.
Hi
Nowadays flatpak/appimage/snap can cover multiple distributions without bound by packaging. Is it possible to support Flatpak/Appimage/Snap?
don't work for daily motion the page remains blocked; we get rid of anti-adblock message, but that's the only action; you can't go any further
The following test needs to be fixed.
--- FAIL: TestRegex (0.00s)
domain_test.go:106: domain=/^example\.(com|org)$/ should match a request with example.com as the referer
domain_test.go:111: domain=/^example\.(com|org)$/ should match a request with example.org as the referer
The rule $doc,removeparam=/^\??utm_.*$/i,domain=~tradedoubler.com|~sendgb.com|~allegro.pl|~tix.axs.com|~transfernow.*|~carrefourpl.snrpage.com|~justdial.com|~pepper.pl
from DandelionSprout's URL Shortener should block any utm_* parameters on requests to HTML documents, which it doesn't.
v0.4.0
macOS
utm_*
parameter enabled (e.g. https://bikeshed.com/?utm_source=pocket_saves).No response
Zen fails to start when using a paloalto's GlobalProtext proxy (the proxy used by my work).
Logs from the macOS console app (the link to how to include the logs that Zen prints out was not helpful so let me know if there is someplace else to look at logs):
default 09:39:16.669517-0700 Zen 0x12e05ba40 - [PID=0] WebProcessCache::setApplicationIsActive: (isActive=1)
default 09:39:16.673858-0700 Zen Gained inheritances: {(
<RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:648-593-932837 0>,
<RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:648-593-932837 0>
)}
default 09:39:16.690807-0700 Zen Gained inheritances: {(
<RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:648-620-932839 0>
)}
default 09:39:17.654028-0700 Zen parent WailsWindow 0x134010720 (17e06) remove NSWindow 0x134222260 (17e69) from group
default 09:39:17.654211-0700 Zen parent WailsWindow 0x134010720 (17e06) add NSWindow 0x134222260 (17e69) to group
default 09:39:17.654601-0700 Zen order window: 17e69 op: 1 relative: 17e06 related: 0
default 09:39:17.700637-0700 Zen parent WailsWindow 0x134010720 (17e06) remove NSWindow 0x134222260 (17e69) from group
default 09:39:17.700861-0700 Zen window NSWindow 17e69 finishing close
default 09:39:17.701174-0700 Zen order window: 17e69 op: 0 relative: 0 related: 0
default 09:39:17.705393-0700 Zen nw_path_libinfo_path_check [9FE9BF9E-727F-4850-915A-58C0FAA3193C Hostname#2af0d623:0 tcp, legacy-socket, attribution: developer]
libinfo check path: satisfied (Path is satisfied), interface: utun4, ipv4, dns
default 09:39:17.705393-0700 Zen nw_path_libinfo_path_check [FA2CB79E-AFE3-4197-B05C-614AB39E90D8 Hostname#782fce55:0 tcp, legacy-socket, attribution: developer]
libinfo check path: satisfied (Path is satisfied), interface: utun4, ipv4, dns
default 09:39:17.705393-0700 Zen nw_path_libinfo_path_check [E32CE374-59E9-4F8D-9B2E-EBC949C58FC4 Hostname#ea855251:0 tcp, legacy-socket, attribution: developer]
libinfo check path: satisfied (Path is satisfied), interface: utun4, ipv4, dns
default 09:39:17.705450-0700 Zen nw_path_libinfo_path_check [81BF410D-6CD6-4CEE-9508-BF4C57E450EF Hostname#80eab101:0 tcp, legacy-socket, attribution: developer]
libinfo check path: satisfied (Path is satisfied), interface: utun4, ipv4, dns
default 09:39:17.705570-0700 Zen nw_path_libinfo_path_check [27DE61DB-866E-4A5A-8B70-249D4CAFAC8C Hostname#326b1f12:0 tcp, legacy-socket, attribution: developer]
libinfo check path: satisfied (Path is satisfied), interface: utun4, ipv4, dns
default 09:39:17.705550-0700 Zen nw_path_libinfo_path_check [9B0DE8C8-338B-4439-B99A-2E93E68FD42E Hostname#cc9ddf31:0 tcp, legacy-socket, attribution: developer]
libinfo check path: satisfied (Path is satisfied), interface: utun4, ipv4, dns
default 09:39:18.884031-0700 Zen 0x12e0500e0 - [PID=75693, throttler=0x12e01ce40] ProcessThrottler::Activity::Activity: Starting foreground activity / 'WebPageProxy::runJavaScriptInFrameInScriptWorld'
default 09:39:18.885795-0700 Zen 0x12e0500e0 - [PID=75693, throttler=0x12e01ce40] ProcessThrottler::Activity::invalidate: Ending foreground activity / 'WebPageProxy::runJavaScriptInFrameInScriptWorld'
default 09:39:20.864142-0700 Zen 0x12e05ba40 - [PID=0] WebProcessCache::setApplicationIsActive: (isActive=0)
default 09:39:21.001667-0700 Zen Lost inheritances: {(
<RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:648-620-932839 0>,
<RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:648-593-932837 0>,
<RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:648-593-932837 0>
)}
v0.3.1
macOS 14.2
Order does not matter: starting Zen before a paloalto's GlobalProtext proxy also fails.
No response
Currently, generated TLS certificates get evicted 2 minutes after their generation. Due to the usual access patterns this naive heuristic is bad for both frequently and infrequently accessed items. An LRU cache should perform much better.
Originally posted by AkioNuernberger March 26, 2024
Salem Ansar! Love the product and thank you for bringing this into the world.
One additional thing I would love is seeing where the request comes from.
Currently, the majority of requests seem to be going to segment. What would be super interesting is finding out which apps are actually sending out these requests. I think this make the user better informed which apps are actually sending out data / loading ads.
The only thing stopping Zen from working in other desktop environments is that it can't set the system proxy settings. On GNOME it is done via couple gsettings commands, but I couldn't find any documentation on similar ways to do this programmatically on other desktop environments. Feel free to add a comment if you think you can help.
to unlock some site that aren't accessible!
there is also GUI-for-GoodbyeDPI
and SpoofDPI
Text box under the Filter lists/Custom.
$domain=~bsky.app should apparently exclude requests to cdn.bsky.app, which it doesn't.
No response
It'd be great if there was some sort of documentation about this project, not just for end-users but also for developers.
Hello,
I would like to propose the addition of a forward proxy feature to our system. A forward proxy acts as an intermediary server between client devices and target servers, enhancing network security and privacy by hiding client device identities. It also enables efficient management of network traffic through filtering, monitoring, and logging of incoming requests.
Implementing a forward proxy would improve our system's capabilities in handling caching, load balancing, and access control. It would provide an additional layer of defense against unauthorized access attempts and enhance overall network performance.
I kindly request your consideration of this proposal for adding a forward proxy functionality to our system.
Thank you for your attention.
Best regards,
JackCen
Hi, when trying to start the Zen proxy I get the following error. I have nu idea how to further elevate Zen's permissions. I'm an admin user running the app. Thanks for any ideas. Your app looks really promising, would love to be able to use it.
0.2.2
macOS 14.2
I have Little Snitch installed but tested this also without LS active and the same error occurrs.
Hi. It will be good if you write documentation on how to create a custom filter list. I want to add my filter list but I don't know what should be inside the file.
Thanks
Originally posted by hiro-gj February 6, 2024
Hi, anfragment
Thank you very much for this wonderful app.
By the way, I would like the Windows version of ZEN to run ad blocking automatically when the OS starts.
For example, is there a way to activate (Start) the ad block from the command prompt?
Please check it.
thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.