Skip to content

Both Acceptable Ads subscriptions are installed by subscriptions.addDefaults()

Environment

  • Browser and full version: 104.0.5112.79
  • Extension using this toolkit: test-mv2
  • Commit hash: 0.6.0

Steps to reproduce

  1. Add the following before EWE.start():
if (!isMV3()) {
  startupInfo = {
    bundledSubscriptions: [
      {
        "type": "ads",
        "languages": [
          "en"
        ],
        "title": "EasyList",
        "url": "https://easylist-downloads.adblockplus.org/easylist.txt",
        "homepage": "https://easylist.to/"
      },
      {
        "type": "circumvention",
        "title": "ABP filters",
        "url": "https://easylist-downloads.adblockplus.org/abp-filters-anti-cv.txt",
        "homepage": "https://github.com/abp-filters/abp-filters-anti-cv"
      },
      {
        "type": "allowing",
        "title": "Allow nonintrusive advertising",
        "url": "https://easylist-downloads.adblockplus.org/exceptionrules.txt",
        "homepage": "https://acceptableads.com/"
      },
      {
        "type": "allowing",
        "title": "Allow nonintrusive advertising without third-party tracking",
        "url": "https://easylist-downloads.adblockplus.org/exceptionrules-privacy-friendly.txt",
        "homepage": "https://acceptableads.com/"
      }
    ]
  }
}
  1. Install extension.
  2. Run await EWE.subscriptions.addDefaults().
  3. Run await EWE.subscriptions.getDownloadable().

Actual behavior

Both Acceptable Ads subscriptions are installed.

Expected behavior

The exceptionrules-privacy-friendly.txt subscription is not installed.