Opened on 03/15/2016 at 01:24:08 PM

Closed on 03/15/2016 at 02:48:12 PM

Last modified on 10/08/2019 at 05:47:03 PM

#3801 closed change (fixed)

Add pre-configurable/hidden preference to add additional subscriptions

Reported by: sebastian Assignee: sebastian
Priority: P3 Milestone: Adblock-Plus-1.12-for-Chrome-Opera-Safari
Module: Platform Keywords:
Cc: Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29338315

Description (last modified by sebastian)

Background

Some organizations that deploy Adblock Plus for Chrome using group policies need a way to add additional filter subscriptions.

We already support a preference that can be pre-configured by group policies in order to suppress the first run page. The same mechanism can be used to allow central configuration of additional filter subscriptions.

What to change

  • Support another pre-configurable preference with the name additional_subscriptions and the type array of string. That preference will contain a list of URLs of filter subscriptions, which can be configured by group policy.
  • When Adblock Plus is loaded, subscriptions given by that preference should be automatically added.
  • It should not be possible to remove those subscriptions on the options page, since they would be automatically added again.
  • However, the user should still be able to disable them. When disabled those subscriptions should NOT be automatically enabled again.

Attachments (0)

Change History (19)

comment:1 Changed on 03/15/2016 at 01:40:42 PM by sebastian

  • Component changed from Unknown to Platform
  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed on 03/15/2016 at 02:46:25 PM by abpbot

A commit referencing this issue has landed:
https://hg.adblockplus.org/adblockpluschrome/rev/a5c02038c610

comment:3 Changed on 03/15/2016 at 02:48:12 PM by sebastian

  • Milestone set to Adblock-Plus-for-Chrome-Opera-Safari-next
  • Resolution set to fixed
  • Status changed from reviewing to closed

comment:4 Changed on 03/15/2016 at 03:13:19 PM by sebastian

On Linux, for example, adding a file with following contents under /etc/opt/chrome/policies/managed/adblockplus.json will cause EasyPrivacy to be added as additional subscription:

{
  "3rdparty": {
    "extensions": {
      "ldcecbkkoecffmfljeihcmifjjdoepkn": {
        "additional_subscriptions": [
          "https://easylist-downloads.adblockplus.org/easyprivacy.txt"
        ]
      }
    }
  }
}

On Windows, according to my understanding of Chromium's incomplete documentation, you would have to set following group policy to achieve the same:

[HKLM\Software\Policies\Google\Chrome\3rdparty\extensions\ldcecbkkoecffmfljeihcmifjjdoepkn\policy\additional_subscriptions]
"1" = "https://easylist-downloads.adblockplus.org/easyprivacy.txt"

Also note that the extension IDs in the snippets above refer to the Adblock Plus development build.

comment:5 Changed on 03/15/2016 at 04:58:45 PM by sebastian

  • Description modified (diff)

comment:6 Changed on 05/25/2016 at 01:40:53 PM by Ross

The Linux version works but I have not got the Windows version to work yet in a VM. Have tried various root keys (HKLM, HKLU) and methods. Will try an actual Windows machine.

ABP 1.11.1606
Chrome 31, 45 / Windows 7
Chrome 49 / Ubuntu 14.04

comment:7 Changed on 05/25/2016 at 01:45:30 PM by sebastian

For Windows this needs to be configured via Active Directory. For more details please refer to the documentation linked above. Frankly, I never tried it out myself on Windows, since it's not trivial to set it up.

comment:8 Changed on 01/24/2019 at 09:43:05 AM by DavidPeacock

spam

Last edited on 10/08/2019 at 05:47:00 PM by kzar

comment:9 Changed on 03/25/2019 at 02:58:15 AM by zindara

spam

Last edited on 10/08/2019 at 05:47:03 PM by kzar

comment:10 Changed on 04/07/2019 at 09:08:14 PM by tomberrot

spam

Last edited on 10/08/2019 at 05:46:30 PM by kzar

comment:11 Changed on 04/11/2019 at 01:33:57 PM by jessicabelorr

spam

Last edited on 10/08/2019 at 05:46:33 PM by kzar

comment:12 Changed on 04/22/2019 at 09:23:12 AM by tonnyken

spam

Last edited on 10/08/2019 at 05:46:37 PM by kzar

comment:13 Changed on 05/22/2019 at 10:29:39 AM by MollyB

spam

Last edited on 10/08/2019 at 05:46:40 PM by kzar

comment:14 Changed on 05/23/2019 at 02:49:25 PM by amdin

spam

Last edited on 10/08/2019 at 05:46:43 PM by kzar

comment:15 Changed on 05/24/2019 at 09:08:09 AM by AlexGambler

spam

Last edited on 10/08/2019 at 05:46:46 PM by kzar

comment:16 Changed on 05/26/2019 at 05:30:46 PM by mage17

spam

Last edited on 10/08/2019 at 05:46:49 PM by kzar

comment:17 Changed on 08/02/2019 at 09:36:06 AM by zerathomaz

spam

Last edited on 10/08/2019 at 05:46:52 PM by kzar

comment:18 Changed on 08/15/2019 at 10:32:14 AM by jessicabelorr

spam

Last edited on 10/08/2019 at 05:46:55 PM by kzar

comment:19 Changed on 09/01/2019 at 04:14:25 PM by vinabiz

spam

Last edited on 10/08/2019 at 05:46:58 PM by kzar

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from sebastian.
 
Note: See TracTickets for help on using tickets.