Whymarrh Whitby
c92fee7771
Hook MetaMaskController up with phishing detection page
6 years ago
Dan Finlay
6ce119d1fb
Move inpage-provider and port-stream outside
...
With the creation of the [metamask-extension-provider](https://github.com/MetaMask/metamask-extension-provider ) we have our first non-core module that is dependent on the inpage-provider and port-stream.
To reduce the size of its dependencies, I have moved the
[metamask-inpage-provider](https://github.com/MetaMask/metamask-inpage-provider ) into its own module, as well as [extension-port-stream](https://github.com/MetaMask/extension-port-stream ).
This allows them to be more easily depended & iterated on by external
projects.
6 years ago
hahnmichaelf
4808ce25eb
fix for lint-test
6 years ago
hahnmichaelf
9666eaba66
base - working. fixes #4774
6 years ago
brunobar79
8f9a0a535c
clean up
6 years ago
brunobar79
78a1cd3314
iframe communication working
6 years ago
brunobar79
4339f04e80
use existing modals
6 years ago
brunobar79
bea1cf3f3c
clean up
6 years ago
Kelvin Tan
7ca402147d
add phishing html page, and redirect to bundled page in-window
6 years ago
brunobar79
74fd6d1d12
working without injection
6 years ago
brunobar79
d5929e5c42
added qr code scanner icon in send transaction
6 years ago
brunobar79
f7ad978474
camera working back and forth
6 years ago
Dan Finlay
dd9e3587d4
Do not inject on ani.gamer.com.tw
...
Fixes #4799
6 years ago
Dan Finlay
6be6b9ef29
Do not inject on blueskybooking.com
...
Per zendesk 2312.
6 years ago
Dan Finlay
c4ae399577
Add harbourair.com to injection block list
...
This site was getting unexpected results when MetaMask was installed.
https://consensys.zendesk.com/agent/tickets/2312
6 years ago
brunobar79
a8f745f9fe
eslint --fix .
6 years ago
Dan Finlay
764643ed5f
Block gravityforms.com from web3 injection
...
Fixes #3073
7 years ago
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
Dan
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
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