adblocker

Efficient embeddable adblocker library

MPL-2.0 License

Downloads
956.5K
Stars
728
Committers
37

Bot releases are visible (Hide)

adblocker - v1.18.4

Published by github-actions[bot] almost 4 years ago

💅 Polish

  • @cliqz/adblocker

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.18.3

Published by github-actions[bot] about 4 years ago

🐛 Bug Fix

  • @cliqz/adblocker

🏠 Internal

🔩 Dependencies

Authors: 4

adblocker - v1.18.2

Published by github-actions[bot] about 4 years ago

⚠️ Pushed to master

  • @cliqz/adblocker
    • Annoyances and Easylist Germany are now enabled in full and ads-only presets (@remusao)

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.18.1

Published by github-actions[bot] about 4 years ago

⚠️ Pushed to master

  • Run asset updates with latest Node (@remusao)

🔩 Dependencies

Authors: 2

adblocker - v1.18.0

Published by github-actions[bot] about 4 years ago

Release Notes

From #1215

Local assets uploading is now smarter and can automatically detect duplicate filters as well as disabled filters, resulting in slimmer lists (resulting in 15218 duplicates filters removed and 113 badfilters disabled). This results in a lower memory usage as well as faster matching performance. Moreover, the Fanboy annoyances list has been added in the "full" preset.


🚀 New Feature

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.17.0

Published by github-actions[bot] over 4 years ago

Release Notes

From #1080

Add support for two new features to make network filtering more flexible and powerful. The new denyallow option is now fully supported. Moreover, both the new denyallow and existing domain options can contain entities, allowing the use of trailing wildcards to match against all public suffixes (e.g. evil.* will match evil followed by any valid public suffix like evil.com or evil.co.uk).


🚀 New Feature

  • @cliqz/adblocker
    • feat: support denyallow option and entities for network filters #1080 (@remusao)

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.16.1

Published by github-actions[bot] over 4 years ago

🐛 Bug Fix

  • @cliqz/adblocker-puppeteer
    • Fix puppeteer package with correct promises handling. #1067 (@remusao)

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.16.0

Published by github-actions[bot] over 4 years ago

🚀 New Feature

  • @cliqz/adblocker-playwright, @cliqz/adblocker
    • feature: add support for Playwright blocking #417 (@remusao)

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.15.1

Published by github-actions[bot] over 4 years ago

🐛 Bug Fix

  • @cliqz/adblocker
    • Make fast hash outputs consistent and fix use of globals #931 (@remusao)

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.15.0

Published by github-actions[bot] over 4 years ago

🏃‍♀️ Performance

  • @cliqz/adblocker
    • Speed-up index creation by using a typed array as histogram. #924 (@remusao)

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.14.4

Published by github-actions[bot] over 4 years ago

💅 Polish

  • @cliqz/adblocker

🏠 Internal

📝 Documentation

🔩 Dependencies

Authors: 3

adblocker - v1.14.3

Published by github-actions[bot] over 4 years ago

⚠️ Pushed to master

  • Update README.md with Cliqz badge (@remusao)

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.14.2

Published by github-actions[bot] over 4 years ago

💅 Polish

  • @cliqz/adblocker

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.14.1

Published by github-actions[bot] over 4 years ago

Release Notes

From #746

  • Make sure that all unsupported procedural selectors from cosmetic filters are dropped to ensure that we only inject valid CSS selectors.
  • Fix matching of domain= option for domain filters in cases where specified domain is a subdomain instead of full hostname or full domain.
  • Fix partyness detection for requests without a valid domain (but having a valid hostname). This fixes matching against localhost request (for instance).
  • Fix engine updates stress test which allows to replay all day-to-day diffs since the beginning of times... (currently about a year) and make sure that all updates work and resulting engine is byte-identical with diff-update or full initialization.
  • Fix script to analyze size of serialized engines for all presets as well as all kinds of compression (i.e. none, gzip and brotli). This allows to keep track of final size after small-strings compression was applied.

💅 Polish

  • @cliqz/adblocker-content, @cliqz/adblocker-electron, @cliqz/adblocker-puppeteer, @cliqz/adblocker-webextension-cosmetics, @cliqz/adblocker-webextension, @cliqz/adblocker
    • Fix domain options with subdomains and more... #746 (@remusao)

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.14.0

Published by github-actions[bot] over 4 years ago

Release Notes

From #738

  • Add guessRequestTypeFromUrl config option to all blocker classes which allows to automatically guess the type of network requests based on their URLs. This can be useful for cases where the type is either not available or not accurately inferred (e.g. when requests have time 'other').
  • Fix a case where PuppeteerBlocker could show an async unhandled exception in console when trying to remove blocked iframes in pages.
  • Fix redirection to binary resources (i.e. base64 encoded). An issue caused these resources to be corrupted which means that redirected resources were not valid (e.g. invalid PNG image).
  • Redirection to local resources has been improved and will now always succeed thanks to a system of fallback. More types are also available for redirection.
  • Improve API of blocker classes (i.e. PuppeteerBlocker, ElectronBlocker and WebExtensionBlocker) to allow creating custom blocking logic of resources using: blockScripts, blockImages, blockMedias, blockFrames, blockFonts, and blockStyles. These helpers can be called on any existing blocker instance, or on a new one created with the empty() static method.
  • Add initial DSL (Domain Specific Language) to create blocking rules with a high-level API. This is used behind the scene to implement the new blocking methods now exposed by blocker instances. This new DSL should be considered alpha-quality and the API will likely change (and break) in the future. It might also be extended to handle hiding rules (a.k.a cosmetic filters).
  • Fix behavior of NetworkFilter#toString which should now return a better pretty-printed version of the original filters whenever the debug option was false (in which case some information about the original raw string is lost and the string version needs to be inferred back).
  • Implement handling of data: URLs. This means that the Request abstraction will now treat them as valid requests and that their type should always be inferred correctly. Moreover, the matching of data: URLs will now only take into account the prefix and ignore anything following the ',' separator.
  • Requests with empty domain will not be treated as third-party anymore (this should not happen in the wild and was mostly impacting our unit tests).

🚀 New Feature

  • @cliqz/adblocker-content, @cliqz/adblocker-electron-preload, @cliqz/adblocker-electron, @cliqz/adblocker-puppeteer, @cliqz/adblocker-webextension-cosmetics, @cliqz/adblocker-webextension, @cliqz/adblocker

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.13.1

Published by github-actions[bot] over 4 years ago

🐛 Bug Fix

  • @cliqz/adblocker-puppeteer
    • Correctly redirect to binary resources in puppeteer blocker #715 (@remusao)

🏠 Internal

  • @cliqz/adblocker
  • @cliqz/adblocker
  • @cliqz/adblocker
  • @cliqz/adblocker-electron, @cliqz/adblocker-puppeteer, @cliqz/adblocker-webextension-cosmetics, @cliqz/adblocker-webextension, @cliqz/adblocker
  • @cliqz/adblocker

📝 Documentation

  • @cliqz/adblocker-content, @cliqz/adblocker-electron-preload, @cliqz/adblocker-puppeteer, @cliqz/adblocker-webextension-cosmetics

🔩 Dependencies

Authors: 3

adblocker - v1.13.0

Published by github-actions[bot] over 4 years ago

Release Notes

From #690

PuppeteerBlocker is now more powerful and will be able to better block ads on most websites. Firstly, a bug was fixed which prevented injection of cosmetics in the main frame of pages. Secondly, PuppeteerBlocker will now monitor the DOM for changes to make sure that ads which load later are still "handled" (if you know what I mean). Lastly, PuppeteerBlocker is now able to look for advertisement iframes and remove them from the DOM completely, no more blank spaces left unattended...


🚀 New Feature

  • @cliqz/adblocker-content, @cliqz/adblocker-electron-preload, @cliqz/adblocker-puppeteer, @cliqz/adblocker-webextension-cosmetics
    • Fix PuppeteerBlocker and enable blocking of frames and DOM monitoring. #690 (@remusao)

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - v1.12.3

Published by github-actions[bot] over 4 years ago

💅 Polish

  • @cliqz/adblocker

🏠 Internal

  • @cliqz/adblocker
    • Make sure updater always gets latest version of resources #679 (@remusao)
  • @cliqz/adblocker
  • @cliqz/adblocker-content, @cliqz/adblocker-electron-preload, @cliqz/adblocker-electron, @cliqz/adblocker-puppeteer, @cliqz/adblocker-webextension, @cliqz/adblocker

🔩 Dependencies

Authors: 3

adblocker - https://github.com/ghostery/adblocker/releases/tag/v1.12.2

Published by github-actions[bot] over 4 years ago

⚠️ Pushed to master

🏠 Internal

🔩 Dependencies

Authors: 3

adblocker - https://github.com/ghostery/adblocker/releases/tag/v1.12.1

Published by github-actions[bot] over 4 years ago

💅 Polish

  • @cliqz/adblocker
    • Make id of fuzzy filter invariant under permutations #666 (@remusao)

Authors: 1