@eyeo/webext-ad-filtering-solution
Advanced tools
Changelog
1.16.0
-p
/--pretty-print
argument (default: false
) to subs-convert
script to specify whether generated JSON files should be pretty-printed or
minified (EXT-395)."isUrlFilterCaseSensitive": false
for
filters that don't specify $match-case
because it is no longer needed
(EXT-383).EWE.filters.onRenewed
emitted when a smart allowlist filter is extended.EWE.filters.onExpired
emitted when a smart allowlist filter has expired.subs-convert
script should not be minified,
pass the -p
/--pretty-print
argument to the subs-convert
script.Changelog
1.15.0
force
flag to EWE.subscriptions.addDefaults()
, to allow re-adding
the default subscriptions regardless of any current subscriptions or user
filters. (EXT-375)extension_name
CDP phase 3 pings. (EXT-74)Changelog
1.14.0
@eyeo/webext-ad-filtering-solution/all/*
namespace. See the "Module
bundlers" section of the readme for more details. (EXT-121)
Changelog
1.13.0
EWE.filters.getMigrationErrors()
and
EWE.subscriptions.getMigrationErrors()
will now always return a promise that
resolves to an array. Previously, if the user had the wrong type in storage,
then the wrong type could be returned, which lead to type errors downstream in
the extensions. (EXT-118)Changelog
1.12.0
browser.scripting
API for injecting snippets in Firefox MV2
extensions. This allows injecting snippets in pages which set a restrictive
content security policy against inline scripts. If the scripting API is not
available, the engine will still fallback to the previous approach. This
requires adding the scripting
permission. The browser.scripting
API is not
available MV2 for Chromium-based browsers, so this is only needed for
Firefox. (CV-3174)scripting
permission for Firefox MV2 extensions, to allow snippets
to be injected using the browser.scripting
API. (CV-3174)Changelog
1.11.0
downloader
. (EE-511, EE-837)requestDomains
condition in DNR rules for main frames, so that $document
filters work correctly together with the $domain
filter option. (EXT-55)downloadStatus
of synchronize_diff_error
. (EXT-54)Changelog
1.10.0
metadata?.expiresAt
allows to set an expiration timestamp for the
associated filter. (EE-735)
metadata?.autoExtendMs
used together with metadata?.expiresAt
(applicable
only to allowlisting filters), this property will automatically extend the
filter's expiration time by the specified number of milliseconds if the user
visits the associated allowlisted website before filter expiration. (EE-735)options
object which contains an expiresAt
timestamp.
The default allowlisting callback will add this as filter metadata, so that
the filter will automatically expire. (EE-752)invalid_options
for AllowlistingAuthorizationError
. (EE-752)storage_duplicate_filters
is no longer
used. (EE-361)EWE.telemetry.setOptOut
. (EE-579)telemetry
credentials to EWE.start
should now
be calling EWE.telemetry.setOptOut
as well to opt users in for sending
user counting telemetry. (EE-579)EWE.allowlisting.setAllowlistingCallback
, then your callback should be
updated to accept the new optional options
parameter, and add
options.expiresAt
as metadata on the allowlisting filter it creates. (EE-752)Changelog
1.9.0
downloader
to support safe filter lists. (EE-511)npm run build -- --force-subscription-update
script.isRegexSupported
function, which would then result in an unexpected error later in the process when trying to add the resulting DNR rules. (EE-565)Changelog
1.8.0
EWE.start()
. The cdp
property is used to specify URLs and credentials for
the CDP telemetry server. (EE-473)EWE.cdp
namespace with onCdpItem
dispatcher, setOptOut()
, and
isOptOut()
methods for allowing users to opt out of data
collection. (EE-461)Changelog
1.7.0
InvalidFilter
filter_elemhide_invalid_selector
indicates that an element hiding or
element hiding emulation filter's selector is invalid. Currently,
selectors that begin with an @
are considered invalid.filter_elemhide_invalid_inline_css
indicates that the inline CSS is
invalid. This could be from using invalid syntax, or by using a CSS value
which is not allowed.declarativeNetRequest.updateStaticRules
checks, since Chrome 124 is
the minimum required version for MV3. (!1036)browser.storage.local
to avoid filling
browser.storage.session
fully and clean the outdated frames
sitekeys early. (EE-64)EWE.filters.validate
reported filters as invalid when in
fact the filters were just not normalized. (EE-444)