Skip to content
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

Check content scripts code for the LastPass vulnerability #625 #632

Merged
merged 2 commits into from
Apr 5, 2017

Conversation

atropnikov
Copy link
Member

@atropnikov atropnikov added this to the 2.6 milestone Apr 4, 2017
@atropnikov atropnikov self-assigned this Apr 4, 2017
*/
var adguardContent = (function () { // jshint ignore:line
Copy link
Member

Choose a reason for hiding this comment

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

Why can't we create it in the content-script.js? As I see this file is already used in every content script.

Copy link
Member Author

Choose a reason for hiding this comment

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

Because adguardContent variable is just like a marker for common-script.js

...
})(typeof adguard !== 'undefined' ? adguard : adguardContent);

Messaging API implementation (runtimeImpl.onMessage|sendMessage) is exposed into passed variable, and then used in the content-script.js

Copy link
Member

Choose a reason for hiding this comment

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

Ok, got it.

*/
var adguardContent = (function () { // jshint ignore:line
Copy link
Member

Choose a reason for hiding this comment

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

Ok, got it.

# Conflicts:
#	Extension/lib/content-message-handler.js
@atropnikov atropnikov merged commit e2baedc into master Apr 5, 2017
@atropnikov atropnikov deleted the feature/issues/625 branch April 5, 2017 12:52
adguard pushed a commit that referenced this pull request Jun 29, 2020
…172 to master

* commit 'be6a0112a79f22d59b75012dd15653020eec3d4c':
  fix:AG-2172 adds wide scriptlets to filtering log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants