-
Notifications
You must be signed in to change notification settings - Fork 862
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from brave/brave-plugin-shields-2
Use contentSettings.plugin for shields with resource identifier
- Loading branch information
Showing
7 changed files
with
54 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
export const RESOURCE_IDENTIFIER_AD_BLOCK = 'ad-block' | ||
export const RESOURCE_IDENTIFIER_TRACKING_PROTECTION = 'tracking-protection' | ||
export const RESOURCE_IDENTIFIER_HTTPS_EVERYWHERE = 'https-everywhere' | ||
export const RESOURCE_IDENTIFIER_JAVASCRIPT_BLOCKING = 'javascript-blocking' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
import * as types from '../../constants/resourceIdentifiers' | ||
|
||
export type RESOURCE_IDENTIFIER_AD_BLOCK = typeof types.RESOURCE_IDENTIFIER_AD_BLOCK | ||
export type RESOURCE_IDENTIFIER_TRACKING_PROTECTION = typeof types.RESOURCE_IDENTIFIER_TRACKING_PROTECTION | ||
export type RESOURCE_IDENTIFIER_HTTPS_EVERYWHERE = typeof types.RESOURCE_IDENTIFIER_HTTPS_EVERYWHERE | ||
export type RESOURCE_IDENTIFIER_JAVASCRIPT_BLOCKING = typeof types.RESOURCE_IDENTIFIER_JAVASCRIPT_BLOCKING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters