Show Posts
|
Pages: [1]
|
Firefox also works fine. As a last ditch effort I can send you bitcoin.min.js if you PM me your email address (as a rule of thumb please be careful when receiving attachment)
|
|
|
Hmmm... I'm on Windows and it works fine for me. Not really sure what happened. My chrome version is 36.0.1985.143 m on Windows 7
|
|
|
My 3rd username for this website (I tend to use captcha as part of my password and end up not remembering it later). My bitcoin.min.js is also around 220kb so most likely you are on the right track. Browser choice is important as bitcoinjs doesn't work with older browser (IE <11?) and Android's WebView. I've tried the following code with Chrome:
<!DOCTYPE html> <html> <body>
<h1>My First Web Page</h1>
<p id="demo">A Paragraph.</p>
<button type="button" onclick="myFunction()">Try it</button>
<script src="bitcoinjs.min.js"></script> <script> function myFunction() { key = Bitcoin.ECKey.makeRandom(); document.getElementById("demo").innerHTML = key.toWIF(); } </script>
</body> </html>
|
|
|
|