pihole-regex
uBlock-issues
pihole-regex | uBlock-issues | |
---|---|---|
20 | 454 | |
1,301 | 862 | |
- | 0.5% | |
2.7 | 4.6 | |
11 days ago | 25 days ago | |
Python | ||
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pihole-regex
-
Important Update: Changes to Blocklist Syntax Support
There are wrappers for updating regex lists that can be modified with other URLs. This was floating around for a while: https://github.com/mmotti/pihole-regex/blob/master/install.py and this is another method: https://www.bentasker.co.uk/posts/documentation/general/refreshing-piholes-regex-block-list-from-external-sources.html With enough regex tweaking I bet you could shave at least tens of thousands of lines off your list, and it could be divided into regex entries for domains where it makes sense, with the rest being non-regex domain entries. Simple regex that is functionally equivalent to AdBlock style wildcard blocks won't notably bog down the system either. It might take a few hours to get a workflow going to streamline producing such a list, but it can be done.
-
Potential problem: Trouble with Pi-hole blocking ads etc
I also have a bunch of RegEx blacklisted from this pihole-regex/regex.list at master · mmotti/pihole-regex · GitHub and these:
-
Looking for a decent blocklist
Here's a list of domains I've used for years. All of which have been collected from different websites and sources such as https://firebog.net/ and https://github.com/mmotti/pihole-regex.
-
Chrome says that they're no longer allowing ad-blocker extensions to work starting in January
I also suggest these regex blocks
-
Any simple/conservative lists that just block ads, not trackers that might break mobile apps and web sites?
Your mileage may vary, but a combination of the default pi-hole list, the firebog.net lists (green, checkmark lists only), and the https://github.com/mmotti/pihole-regex/blob/master/regex.list do a pretty complete job for me.
-
Pi-hole not blocking a good amount of ads
While not perfect, and does not directly address the YouTube ads, I can suggest setting up mmotti's Regex Filters for Pi-hole.
- Corrupted pihole died and it used to block advertisements for other shows on HBO Max. New pihole installation does not. What list/regex entry blocks HBO Max ads?
- Ist there a way to block a URL other than the host file?
-
What regex entries do you use? The regex megathread is several years old at this point and I was unsure if there are any new ones to add.
I did also find these as well: https://github.com/mmotti/pihole-regex/blob/master/regex.list
-
Blocking AMP Links with AdGuard Home Regex?
Maybe this help: https://github.com/mmotti/pihole-regex
uBlock-issues
-
:matches-path with pseudo-elements
There is an open issue for this: https://github.com/uBlockOrigin/uBlock-issues/issues/2786 uBO should report such filter as en error in Firefox, so that is the thing to fix.
-
Youtube ad block on pc (ublock origin)
This would be the price of one of the four CDNs (6000$ per month): https://github.com/uBlockOrigin/uBlock-issues/discussions/2958
-
Latest Dev build reset all settings and removed all custom filers lists
opened a bug report https://github.com/uBlockOrigin/uBlock-issues/issues/3003
- Disable "uBlock Origin has prevented the following page from loading:" page
-
📌 YouTube Anti-Adblock and Ads - November 12, 2023 (Mega Thread)
Current estimated cost for just ONE of uBO's CDNs: HERE. This is with other lists updating every few days. uBO's not a company, it's a volunteer project using free services, which have limits that we cannot cross.
-
How to block YT ads like a champ
The extension with the best success rate seems to be **uBlock Origin**. It is a community driven project with a team of volunteers, you can review the source code [here](https://github.com/gorhill/uBlock). You will need to update your filter lists regularly, this because Youtube changes detection methods daily. Here is how you do that:
-
Show HN: Bedframe – open-source Browser Extension Development framework
Definitely a much-needed area for development. However, having gone down the browser extension rabbit hole, I've largely shifted my focus to user scripts. Granted, there will always be a need for specialized browser extensions like ad blockers (uBlock[1]), keyboard shortcuts (Vimium-C[2]), and password managers (Bitwarden[3]).
That said, I find user scripts superior for most tasks, despite some lacking UI niceties. They are easier to share, use, and crucially, audit—be it in terms of scope, permissions, or code updates. Plus if Manifest V3 is any indicator, the future for browser extensions looks bleak. While I don't agree with this direction, it's probably for the best for the majority of users, like my mom.
Your effort is commendable; however, should you find yourself looking for a viable pivot in the future, I believe the user script space is primed for innovation and could offer a good alternative.
[1] https://github.com/gorhill/uBlock
-
Help me understand this code!
const defineProperty = function(chain, cValue, middleware = undefined) { let aborted = false; const mustAbort = function(v) { if ( aborted ) { return true; } aborted = (v !== undefined && v !== null) && (cValue !== undefined && cValue !== null) && (typeof v !== typeof cValue); return aborted; }; // https://github.com/uBlockOrigin/uBlock-issues/issues/156 // Support multiple trappers for the same property. // // trapProp is used to trap a single property within an object. const trapProp = function(owner, prop, configurable, handler) { if ( handler.init(owner[prop]) === false ) { return; } const odesc = Object.getOwnPropertyDescriptor(owner, prop); let prevGetter, prevSetter; if ( odesc instanceof Object ) { if ( odesc.configurable === false ) { return; } if ( odesc.get instanceof Function ) { prevGetter = odesc.get; } if ( odesc.set instanceof Function ) { prevSetter = odesc.set; } } Object.defineProperty(owner, prop, { configurable, //When a property is accessed (get), the custom getter function is called. get() { if ( prevGetter !== undefined ) { prevGetter(); } return handler.getter(); // cValue }, // When a property is modified (set), the custom setter function is called. set(a) { if ( prevSetter !== undefined ) { prevSetter(a); } handler.setter(a); } }); }; // trapChain is used to recursively trap properties along a chain of properties (e.g., object1.object2.property). const trapChain = function(owner, chain) { const pos = chain.indexOf('.'); if ( pos === -1 ) { trapProp(owner, chain, true, { v: undefined, init: function(v) { if ( mustAbort(v) ) { return false; } this.v = v; return true; }, getter: function() { return cValue; }, setter: function(a) { // Middleware is called when a property is set, allowing additional processing or validation of the new value. if (middleware instanceof Function) { cValue = a; middleware(a); } else { if ( mustAbort(a) === false ) { return; } cValue = a; } } }); return; } const prop = chain.slice(0, pos); const v = owner[prop]; chain = chain.slice(pos + 1); if ( v instanceof Object || typeof v === 'object' && v !== null ) { trapChain(v, chain); return; } trapProp(owner, prop, true, { v: undefined, init: function(v) { this.v = v; return true; }, getter: function() { return this.v; }, setter: function(a) { this.v = a; if ( a instanceof Object ) { trapChain(a, chain); } } }); }; trapChain(window, chain); }
- Firefox 115 can silently remotely disable my extension on any site
-
Why do my settings keep getting reverted?
Maybe https://github.com/uBlockOrigin/uBlock-issues/issues/2725 ?
What are some alternatives?
Pi-hole - A black hole for Internet advertisements
SponsorBlock - Skip YouTube video sponsors (browser extension)
pi-hole-block-list
brave-core - Core engine for the Brave browser for mobile and desktop. For issues https://github.com/brave/brave-browser/issues
FilterLists - :shield: The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances.
ClearUrls
the-quantum-ad-list
ClearURLs-Addon - ClearURLs is an add-on based on the new WebExtensions technology and will automatically remove tracking elements from URLs to help protect your privacy.
pihole_adlist_tool - A tool to analyse how your pihole adlists cover you browsing behavior
uBlock - uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.
no-google - Completely block Google and its services
bypass-paywalls-chrome-clean-magnolia1234 - Bypass Paywalls Clean for Chrome (no Google Analytics, lot of updates/bug-fixes and custom sites)