Merge pull request #1271 from MetaMask/i1223-InjectIFrames

Inject web3 in iFrames
This commit is contained in:
Dan Finlay 2017-03-27 17:52:23 -07:00 committed by GitHub
commit 903d3aeb7a
3 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@
## Current Master ## Current Master
- Inject web3 into loaded iFrames.
## 3.5.1 2017-3-27 ## 3.5.1 2017-3-27
- Fix edge case where users were unable to enable the notice button if notices were short enough to not require a scrollbar. - Fix edge case where users were unable to enable the notice button if notices were short enough to not require a scrollbar.

View File

@ -51,7 +51,7 @@
"scripts/contentscript.js" "scripts/contentscript.js"
], ],
"run_at": "document_start", "run_at": "document_start",
"all_frames": false "all_frames": true
} }
], ],
"permissions": [ "permissions": [

View File

@ -73,6 +73,6 @@ function isAllowedSuffix (testCase) {
if (doctype) { if (doctype) {
return doctype.name === 'html' return doctype.name === 'html'
} else { } else {
return false return true
} }
} }