Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

the-atlantic-allow-1p-ab-checks #8715

Merged
merged 1 commit into from
May 8, 2017
Merged

Conversation

lukemulks
Copy link
Collaborator

@lukemulks lukemulks commented May 5, 2017

Allows for 1p checks for theatlantic.com. Fixes #6291

  • Will allow for additional filters to be applied in brave/adblock-lists to prevent content blocking.

  • WIll provide flexibility for additional filters, should the URL change to another 1p URL.

  • Submitted a ticket for my issue if one did not already exist.

  • Used Github auto-closing keywords in the commit message.

  • Added/updated tests for this change (for new code or code which already has tests).

  • Ran git rebase -i to squash commits (if needed).

Test Plan:

  • Open about:adblock
  • Add the following custom filters:
||theatlantic.blueconic.net$domain=theatlantic.com
||theatlantic.com/please-support-us^
  • Begin with a clean profile.
  • Refresh the about:adblock page
  • Go to https://www.theatlantic.com
  • Navigate to any article, and scroll below the fold.
  • The "please support us" blocker should no longer render.

Once the PR has been confirmed, I will update adblock-lists with the custom filters from above, and have dat files pushed. Custom filters will serve the same purpose for testing, and limit potential risk.

The please-support-us url redirects the user to the blocker page.
The blueconic.com URL is used to track users.

Allows for 1p checks for theatlantic.com
- Will allow for additional filters to be applied in `brave/adblock-lists` to prevent content blocking. 
- WIll provide flexibility for additional filters, should the URL change to another 1p URL.
Copy link
Collaborator

@jonathansampson jonathansampson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as intended.

@bsclifton bsclifton merged commit 139662f into master May 8, 2017
@bsclifton bsclifton deleted the lukemulks-patch-1-the-atlantic branch May 8, 2017 06:35
@lukemulks
Copy link
Collaborator Author

Thanks @jonathansampson! @bsclifton too!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants