Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Run dappListener on a smaller set of pages
Browse files Browse the repository at this point in the history
Fix #11596

Auditors: @kjozwiak
  • Loading branch information
bbondy committed Oct 23, 2017
1 parent e4ce240 commit 6e8dc88
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion app/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,28 @@ let generateBraveManifest = () => {
run_at: 'document_start',
all_frames: true,
js: [
'content/scripts/dndHandler.js',
'content/scripts/dndHandler.js'
],
matches: [
'<all_urls>'
],
exclude_globs: [
indexHTML,
getBraveExtUrl('*')
]
},
{
run_at: 'document_start',
all_frames: true,
js: [
'content/scripts/dappListener.js'
],
matches: [
'<all_urls>'
],
include_globs: [
'http://*/*', 'https://*/*', 'file://*'
],
exclude_globs: [
indexHTML,
getBraveExtUrl('*')
Expand Down

0 comments on commit 6e8dc88

Please sign in to comment.