simon
22753d96fd
Added trailing comma for eslint
7 years ago
simon
41502cb384
Added adyen.com to blacklisted domains because postMessages are blocking card encryption
7 years ago
Bryce Neal
18a8a21179
Blacklist problematic shopify iFrame
7 years ago
bitpshr
8636f3bae5
Clean up JSDoc for background scripts
7 years ago
bitpshr
c9f83fe8bc
Add JSDoc to various background scripts
7 years ago
Dan Finlay
86693af156
Add webby awards to web3 block list.
7 years ago
kumavis
253abd60fc
build - extension - move js files to toplevel
7 years ago
Saptak Sengupta
6174c00c10
Inject Script: Blacklist domains where not to inject script
...
Put a blacklist domain check where if the page url is in the list
of blacklisted domains, we shouldn't inject script in that web page.
7 years ago
William Chong
03f86acd60
fix #1398 , prevent injecting xml without xml suffix
7 years ago
kumavis
53a360b65d
contentscript - fix inpage require and bundling
7 years ago
Dan Finlay
c9a984a237
Break up inpage file read into multiple lines
7 years ago
Dan Finlay
1cba6543a4
Begin implementing sync injection idea
7 years ago
kumavis
0a5ae39509
bug - fix event emitter mem leak warning
7 years ago
kumavis
8545453a9d
contentscript - fix obj-multiplex instantiation and use pump for streams
7 years ago
kumavis
da16f39626
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
7 years ago
kumavis
da7471e095
lint fixes
7 years ago
kumavis
ecaa235b5e
phishing detection - move phishing detection into contentscript and metamask controller
7 years ago
frankiebee
473b88f399
Reload the page when switching networks for sites that use web3
8 years ago
Thomas Huang
6bdb4c8728
Fix linting warnings
8 years ago
kumavis
be88c87b25
extension - prefer extensionizer module
8 years ago
Kevin Serrano
0625b4a110
Fix injection logic.
8 years ago
Stefaan Ponnet
0faddb2ed2
Allow injection in IFrames + dynamic IFrames
8 years ago
Kevin Serrano
9906da86a4
Modify logic for injection conditions.
8 years ago
Kevin Serrano
23263bec7d
Linting to the max.
8 years ago
Kevin Serrano
0d495372da
Lint.
8 years ago
Kevin Serrano
8a5eacd35f
Prevent XML from web3 injections.
8 years ago
kumavis
a1c3c944cf
dapp reload - fixed disconnect detection via polling
8 years ago
Dan Finlay
6838027c65
Remove bind calls from console errors
8 years ago
kumavis
d7dffedf48
deps - local-message-stream extracted as module post-message-stream
8 years ago
Dan Finlay
be74589f49
Fix extension tests
8 years ago
Dan Finlay
913a9e85bd
Inject inpage script synchronously
...
Huge thanks to the Firefox team, for their help on the issue of our long-standing inpage script race condition.
http://stackoverflow.com/questions/38577656/how-can-i-make-a-firefox-add-on-contentscript-inject-and-run-a-script-before-oth
The problem is that we were injecting a `script` tag and assigning its `src` attribute, which triggers an asynchronous fetch request, and does not guarantee execution order! (That was news to me!)
Instead, I'm now assigning the `script` tag a `textContent` value of the script to inject, and it seems to fix the problem!
There is also a Firefox-only API that could solve this whole problem in an even more elegant way, so we might want to expose a code path for that solution later on:
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.exportFunction
Allows you to expose an object from one scope to another. There was even talk of creating a polyfill for it that does virtually what we do, message passing between contexts.
8 years ago
Dan Finlay
b07bbc14e1
Clean up extension polyfill abstraction
8 years ago
Dan Finlay
f3ea891e72
Allow page injection to look for cross-browser APIs appropriately
8 years ago
Dan Finlay
6658bea8d4
Implement some cross-browser practices ( #473 )
...
* Add mozilla plugin key to manifest
* Move all chrome references into platform-checking module
Addresses #453
* Add chrome global back to linter blacklist
* Add tests
8 years ago
kumavis
786a283dd2
contentscript - remove timeout before stream setup
8 years ago
kumavis
5c4c902c94
appease the linting gods
8 years ago
kumavis
7aa120e630
web3 injection - use web3 dist for faster injection
8 years ago
kumavis
d7d440b2c2
svg notif now work for msg signatures
8 years ago
kumavis
fce748c118
contentscript - skip web3 injection if domain appears to be a pdf
8 years ago
Dan Finlay
a08c3bc01b
Auto linted
8 years ago
kumavis
9aea88da32
multiplex - rename control to autoreload
9 years ago
kumavis
aa2816010d
inpage - automatic dapp reload
9 years ago
kumavis
e949e6b118
contentscript - append inpage as first child
9 years ago
kumavis
066996396f
context wiring - handle and log errors
9 years ago
kumavis
7347a66eb0
integrate metamask-ui with id mgmt
9 years ago
kumavis
09644408c2
testing continues
9 years ago
kumavis
72a747165d
migrate to ProviderEngine zero-client
9 years ago
kumavis
6bf98c6923
load from storage on start and export unsignedTxs on remote connect
9 years ago
kumavis
dcfd89db1b
store unconfirmedTxs in chrome sync storage
9 years ago
kumavis
fd9871acae
builds smoothly + forwards txs to extension
9 years ago