aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/contentscript.js
Commit message (Collapse)AuthorAgeFilesLines
* do not base64 encode "inpage.js"Chen Wei2019-09-061-7/+10
|
* this will work on FFChen Wei2019-07-181-1/+1
|
* do not load inpage.js by "fs". They can be accessed with extension URLChen Wei2019-07-181-8/+9
|
* 1. rename stream target name 2. do not expose web3Chen Wei2019-07-181-3/+3
|
* dapp handler injected as "tangerine"Chen Wei2019-07-021-2/+2
|
* Refactor ProviderApprovalController to use rpc and publicConfigStore (#6410)kumavis2019-05-041-120/+93
| | | | | | | | | | * Ensure home screen does not render if there are unapproved txs (#6501) * Ensure that the confirm screen renders before the home screen if there are unapproved txs. * Only render confirm screen before home screen on mount. * inpage - revert _metamask api to isEnabled isApproved isUnlocked
* Don't inject web3 on sharefile.comWhymarrh Whitby2019-04-101-0/+1
|
* EIP-1193: standard provider API (#6170)Paul Bouchon2019-02-201-1/+6
| | | | | | | | | | | | | | | | * EIP-1193: Implement new provider API * EIP-1193: Updated implementation * Remove test file * Fix tests * Update ping check * Update logic * PR feedback
* Update contentscript to use ES6 destructuring, const, letWhymarrh Whitby2019-02-121-5/+5
|
* 1102: use meta title if it exists before titlePaul Bouchon2018-11-151-0/+5
|
* EIP-1102: Update publicConfig store concurrently with approvalPaul Bouchon2018-11-101-2/+6
|
* wipbitpshr2018-11-081-5/+5
|
* Remove injected script tags after usebitpshr2018-11-071-0/+2
|
* Add experimental RPC method supportbitpshr2018-11-061-0/+1
|
* Update Connect Request screen design (#5644)Whymarrh Whitby2018-11-061-0/+30
| | | | | | | | | | * Parameterize NetworkDisplay background colour * Update design for login request screen * Pass siteTitle, siteImage through for calls to ethereum.enable() * Bring the site images closer together
* Disable approval cachingbitpshr2018-11-061-2/+6
|
* Differentiate locked and enabledbitpshr2018-11-061-4/+0
|
* Code bathbitpshr2018-11-061-9/+8
|
* Handle logout gracefullybitpshr2018-11-061-9/+12
|
* Fix lint issuesbitpshr2018-11-061-1/+1
|
* Only filter selectedAddress from publicConfig storebitpshr2018-11-061-6/+10
|
* Add isUnlocked provider hookbitpshr2018-11-061-1/+9
|
* EIP-1102: add user privacy optionbitpshr2018-11-061-19/+8
|
* EIP-1102: add isEnabled convenience method to providerbitpshr2018-11-061-8/+20
|
* EIP-1102: Add option to force-enable providerbitpshr2018-11-061-0/+19
|
* EIP-1102: updated implementationbitpshr2018-11-061-10/+51
|
* Fix document extension check when injecting web3Whymarrh Whitby2018-10-161-7/+12
|
* Hook MetaMaskController up with phishing detection pageWhymarrh Whitby2018-10-021-1/+5
|
* Merge pull request #5053 from hahnmichaelf/esdb-supportThomas Huang2018-09-271-1/+1
|\ | | | | Link to ESDB in local phishing.html
| * fix for lint-testhahnmichaelf2018-08-141-1/+1
| |
| * base - working. fixes #4774hahnmichaelf2018-08-131-1/+1
| |
* | Move inpage-provider and port-stream outsideDan Finlay2018-08-211-1/+1
|/ | | | | | | | | | 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.
* use existing modalsbrunobar792018-07-311-1/+1
|
* add phishing html page, and redirect to bundled page in-windowKelvin Tan2018-07-271-2/+3
|
* Merge branch 'develop' into no-inject-ani-gamerKevin Serrano2018-07-251-0/+1
|\
| * Do not inject on blueskybooking.comDan Finlay2018-07-171-0/+1
| | | | | | Per zendesk 2312.
* | Do not inject on ani.gamer.com.twDan Finlay2018-07-191-0/+1
|/ | | Fixes #4799
* Add harbourair.com to injection block listDan Finlay2018-07-131-0/+1
| | | | | This site was getting unexpected results when MetaMask was installed. https://consensys.zendesk.com/agent/tickets/2312
* eslint --fix .brunobar792018-07-031-2/+2
|
* Block gravityforms.com from web3 injectionDan Finlay2018-06-041-0/+1
| | | Fixes #3073
* Added trailing comma for eslintsimon2018-05-181-1/+1
|
* Added adyen.com to blacklisted domains because postMessages are blocking ↵simon2018-05-181-1/+2
| | | | card encryption
* Blacklist problematic shopify iFrameBryce Neal2018-05-011-0/+1
|
* Clean up JSDoc for background scriptsbitpshr2018-04-201-5/+5
|
* Add JSDoc to various background scriptsbitpshr2018-04-191-0/+42
|
* Add webby awards to web3 block list.Dan Finlay2018-04-041-1/+5
|
* build - extension - move js files to toplevelkumavis2018-03-291-3/+3
|
* Inject Script: Blacklist domains where not to inject scriptSaptak Sengupta2018-03-171-1/+16
| | | | | 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.
* fix #1398, prevent injecting xml without xml suffixWilliam Chong2017-12-051-2/+10
|
* contentscript - fix inpage require and bundlingkumavis2017-10-131-4/+4
|
* Break up inpage file read into multiple linesDan Finlay2017-10-131-1/+3
|
* Begin implementing sync injection ideaDan Finlay2017-10-051-2/+1
|
* bug - fix event emitter mem leak warningkumavis2017-09-221-3/+8
|
* contentscript - fix obj-multiplex instantiation and use pump for streamskumavis2017-09-121-12/+33
|
* Merge branch 'master' of github.com:MetaMask/metamask-extension into ↵kumavis2017-08-041-6/+16
| | | | greenkeeper/initial
* lint fixeskumavis2017-08-041-1/+1
|
* Reload the page when switching networks for sites that use web3frankiebee2017-05-251-1/+0
|
* Fix linting warningsThomas Huang2017-04-271-1/+1
|
* extension - prefer extensionizer modulekumavis2017-03-311-1/+1
|
* Fix injection logic.Kevin Serrano2017-03-291-3/+16
|
* Allow injection in IFrames + dynamic IFramesStefaan Ponnet2017-03-261-1/+1
|
* Modify logic for injection conditions.Kevin Serrano2017-03-231-9/+5
|
* Linting to the max.Kevin Serrano2016-11-121-9/+5
|
* Lint.Kevin Serrano2016-10-161-1/+1
|
* Prevent XML from web3 injections.Kevin Serrano2016-10-161-2/+14
|
* dapp reload - fixed disconnect detection via pollingkumavis2016-10-131-8/+12
|
* Remove bind calls from console errorsDan Finlay2016-08-301-4/+4
|
* deps - local-message-stream extracted as module post-message-streamkumavis2016-08-121-1/+1
|
* Fix extension testsDan Finlay2016-07-261-1/+1
|
* Inject inpage script synchronouslyDan Finlay2016-07-261-1/+12
| | | | | | | | | | | | | | | | 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.
* Clean up extension polyfill abstractionDan Finlay2016-07-261-8/+13
|
* Allow page injection to look for cross-browser APIs appropriatelyDan Finlay2016-07-261-1/+2
|
* Implement some cross-browser practices (#473)Dan Finlay2016-07-221-3/+4
| | | | | | | | | | | | * 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
* contentscript - remove timeout before stream setupkumavis2016-07-071-1/+1
|
* appease the linting godskumavis2016-07-071-4/+0
|
* web3 injection - use web3 dist for faster injectionkumavis2016-07-071-2/+8
|
* svg notif now work for msg signatureskumavis2016-06-251-4/+2
|
* contentscript - skip web3 injection if domain appears to be a pdfkumavis2016-06-251-32/+48
|
* Auto lintedDan Finlay2016-06-221-6/+4
|
* multiplex - rename control to autoreloadkumavis2016-05-231-4/+4
|
* inpage - automatic dapp reloadkumavis2016-05-061-6/+17
|
* contentscript - append inpage as first childkumavis2016-04-191-1/+2
|
* context wiring - handle and log errorskumavis2016-02-111-1/+5
|
* integrate metamask-ui with id mgmtkumavis2016-01-151-1/+1
|
* testing continueskumavis2015-12-211-1/+0
|
* migrate to ProviderEngine zero-clientkumavis2015-12-191-15/+13
|
* load from storage on start and export unsignedTxs on remote connectkumavis2015-08-021-1/+1
|
* store unconfirmedTxs in chrome sync storagekumavis2015-08-021-6/+6
|
* builds smoothly + forwards txs to extensionkumavis2015-08-021-10/+19
|
* build overhaul + basic structurekumavis2015-08-021-2/+13
|
* metamask provider skeletonkumavis2015-08-011-5/+2
|
* init commitkumavis2015-08-011-0/+8