|
|
@ -78,6 +78,7 @@ extension WKWebViewConfiguration { |
|
|
|
web3.eth.getCoinbase = function(cb) { |
|
|
|
web3.eth.getCoinbase = function(cb) { |
|
|
|
return cb(null, addressHex) |
|
|
|
return cb(null, addressHex) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
web3.currentProvider.isTrust = false |
|
|
|
|
|
|
|
|
|
|
|
""" |
|
|
|
""" |
|
|
|
let userScript = WKUserScript(source: js, injectionTime: .atDocumentStart, forMainFrameOnly: false) |
|
|
|
let userScript = WKUserScript(source: js, injectionTime: .atDocumentStart, forMainFrameOnly: false) |
|
|
|