Pass ghostery pause and whitelisted sites to content scripts. #175
Conversation
|
@sammacbeth We should be able to handle the paused state change with a dispatcher event. In PanelData here and here we can add In background.js under |
Allows content scripts to stop processing when the user pauses ghostery
00b7589
to
d56feef
|
@christophertino Thanks, was wondering if there was a nicer way to see when the extension is paused. Updated the PR with your suggestions. |
jsignanini
added a commit
that referenced
this pull request
Nov 19, 2018
* Pass ghostery pause and whitelisted sites to content scripts. Allows content scripts to stop processing when the user pauses ghostery * Use dispatcher to listen to paused status.
jsignanini
added a commit
that referenced
this pull request
Nov 20, 2018
* Pass ghostery pause and whitelisted sites to content scripts. Allows content scripts to stop processing when the user pauses ghostery * Use dispatcher to listen to paused status.
jsignanini
added a commit
that referenced
this pull request
Nov 20, 2018
* Pass ghostery pause and whitelisted sites to content scripts. Allows content scripts to stop processing when the user pauses ghostery * Use dispatcher to listen to paused status.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Allows content scripts to stop processing when the user pauses ghostery.