2018-04-02 23:56:50 +00:00
|
|
|
;; Browser (webview) configuration
|
|
|
|
;; :inject-js is a map of {<domain> <js-code>}, JS code will be injected if the domain name matches (www. is stripped away)
|
|
|
|
|
2018-11-08 14:48:11 +00:00
|
|
|
{:inject-js {"cryptokitties.co" "; if (!window.chrome) { window.chrome = { webstore: true };
|
|
|
|
if (ethereum) ethereum.isMetaMask = true;
|
|
|
|
if (web3 && web3.currentProvider) web3.currentProvider.isMetaMask = true; }"}}
|