Skip to content

Support Safari's content blocker JSON format #9749

Closed

Activity

  1. larsbergstrom commented on Feb 25, 2016

    @larsbergstrom
    Contributor

    @metajack and I have discussed this in the past and agree that this is a good way forward. We probably should start with separate bugs for adding support to each of the different components where filtering will need to occur (network stack, style system, etc.).

  2. tetsuharuohzeki commented on Feb 26, 2016

    @tetsuharuohzeki
    Contributor
  3. metajack commented on Apr 4, 2016

    @metajack
    Collaborator

    @jdm has said he'd like to work on this.

  4. jdm commented on Apr 9, 2016

    @jdm
    Member

    I've published https://github.com/jdm/content-blocker/ on crates.io. Next steps:

    • read a resource file on startup
    • integrate the request blocking and cookie stripping actions into the network stack
    • integrate the element hiding action into layout
    • figure out where Focus' official lists come from
  5. jdm commented on Apr 11, 2016

    @jdm
    Member

    Focus' list comes from a transformation of the Tracking Protections lists that Firefox uses. There's a script that turns them into the JSON files that Safari expects.

  6. jdm commented on Apr 17, 2016

    @jdm
    Member

    Work can be seen at https://github.com/servo/servo/compare/master...jdm:content-blocker?expand=1 . Still need to rebase and investigate the performance effects of large lists.

  7. 5 remaining items

  8. cpeterso commented on May 26, 2016

    @cpeterso

    The Tracking Protection and Focus lists, which are derived from Disconnect's lists, have been reviewed and approved for specific uses in specific products. If we're using these lists in a different context or product, we should get Mozilla Product and Policy people to sign off again. I shared the contacts with @nox, but let me know if you have any questions.

  9. paulrouget commented on May 26, 2016

    @paulrouget
    ContributorAuthor

    Would it be hard to have a way to toggle content blocking for mozbrowser iframes?

    Like - maybe via a DOM attribute on the mozbrowser iframe. And ideally, add a property to the mozbrowserloadevent to tell how many elements were blocked.

    That would be hell of cool to have a "toggle-ad-blocking" button in browserhtml, that also shows the number of blocked elements.

  10. added 2 commits that reference this issue on May 30, 2016
  11. self-assigned this
    on May 30, 2016
  12. added 2 commits that reference this issue on May 30, 2016
  13. nox commented on May 30, 2016

    @nox
    Contributor

    So what is the actual scope of this if #11500 is only P2? I'm confused. Should we implement toggle right now or not?

  14. metajack commented on May 30, 2016

    @metajack
    Collaborator

    @nox I think we can land this without a list included and without the ability to turn on and off except from the commandline and then land those other two things separately.

  15. paulrouget commented on May 30, 2016

    @paulrouget
    ContributorAuthor

    P2 means "good to have for the June demo". We can demo content blocker without the toggle. But it would require a restart.

  16. nox commented on May 30, 2016

    @nox
    Contributor

    Perfect, consider this landed then. #11413.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions