Add cookie consent filter list to Adblock Plus recommendations

Background / User story

We want to add a new Premium feature to Adblock Plus (see https://gitlab.com/adblockinc/ext/adblockplus/adblockplusui/-/issues/1347, https://gitlab.com/adblockinc/ext/adblockplus/adblockplusui/-/issues/1444) to help users with cookie messages on the web. For that, we need to add the respective filter list to the recommendations in Adblock Plus.

What to change

Hints for testers

To test this, we can update the @adblockinc/rules npm dependency in adblockplusui with the following value

 "@adblockinc/rules": "gitlab:2alin-eyeo/rules#dfb055d8",

before running npm install and build the extension.

  • At the moment the filter list should be visible for all users (will change to only premium with https://gitlab.com/adblockinc/ext/adblockplus/adblockplusui/-/issues/1347), through the options page > advanced tab > 'add built-in filter list' menu. Currently the filter title is "Cookie Consent Filter List".
  • The filter list shouldn't have the 'homepage' metadata value, which means that if we click in the gear button, at the side of the filter list, the 'website' link shouldn't appear.
Edited by Adilson Sandoval
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information