Skip to content

Commit

Permalink
Set "incognito": "not_allowed" in greaselion manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdh committed Jan 13, 2021
1 parent 582ff16 commit 6bbdfb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/greaselion/browser/greaselion_service_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ scoped_refptr<Extension> ConvertGreaselionRuleToExtensionOnTaskRunner(
root->SetStringPath(extensions::manifest_keys::kVersion, "1.0");
root->SetStringPath(extensions::manifest_keys::kDescription, "");
root->SetStringPath(extensions::manifest_keys::kPublicKey, key);
root->SetStringPath("incognito",
extensions::manifest_values::kIncognitoNotAllowed);

std::vector<std::string> matches;
matches.reserve(rule->url_patterns().size());
Expand Down

0 comments on commit 6bbdfb1

Please sign in to comment.