Skip to content
This repository has been archived by the owner. 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 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.
@lukemulks lukemulks added this to the 0.15.3 milestone May 5, 2017
@lukemulks lukemulks self-assigned this May 5, 2017
@lukemulks lukemulks requested a review from jonathansampson May 5, 2017
Copy link
Collaborator

jonathansampson left a comment

Works as intended.

@bsclifton bsclifton merged commit 139662f into master May 8, 2017
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build failed
Details
@bsclifton bsclifton deleted the lukemulks-patch-1-the-atlantic branch May 8, 2017
@lukemulks
Copy link
Collaborator Author

lukemulks commented May 8, 2017

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

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.