-
-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show firstparty protections ui #2684
Conversation
Oh, and the link that the new text points to is the deeplinks blog post that describes PB's link tracking protections: https://www.eff.org/deeplinks/2018/05/privacy-badger-rolls-out-new-ways-fight-facebook-tracking |
eef1669
to
2177080
Compare
Rebased on master and added another commit to simplify messaging into one case for all variations of the popup, regardless of current detected tracker count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, got some feedback.
src/js/popup.js
Outdated
@@ -169,6 +169,11 @@ function init() { | |||
$overlay.toggleClass('active'); | |||
} | |||
|
|||
// show firstparty link tracking protection if we scrub links on this tab host | |||
if (POPUP_DATA.tabHost == 'www.facebook.com' || POPUP_DATA.tabHost == 'www.google.com') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't cover all the domains we perform link unwrapping on. Take a look at domains we inject /firstparties/
content scripts into in manifest.json.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed this to pull down all domains from our manifest
Cool, thanks for the feedback. I hit on each of the smaller points and added some dynamic checking to cover all first party urls and future ones. |
…yle of popup messaging
18b1ade
to
a1afda3
Compare
This is gonna be wrapped up in #2748, so I'm closing this in favor of that one |
Fixes #2482
This adds a new message to the badger popup when any of the first party scripts are being run on the user's current site. If in the future the first party scripts are doing things other than anchor tag scrubbing, then maybe we could change the messaging.... until then, this oughtta work!