<p>You should have a look at <a href="https://bitcoin.stackexchange.com/q/1520/323">this question</a> about web miners.</p>

<p>In general, web miners use JavaScript and <a href="http://webcl.nokiaresearch.com/" rel="nofollow noreferrer">WebCL</a> in order to perform operations on the GPU.</p>

<p>However, it might not be as profitable as you think. Considering that most people have very poor GPUs. At the moment if you'd have someone with a decent 200MHash/s card on your website for 24h, you'd basically earn <a href="http://tpbitcalc.appspot.com/?difficulty=1583177.8474&amp;hashrate=200.00&amp;exchangerate=6.65&amp;bitcoinsperblock=50.00&amp;rigcost=500.00&amp;powerconsumption=200.00&amp;powercost=0.10&amp;investmentperiod=355" rel="nofollow noreferrer">3 cents</a>. You can check how much you could earn by visiting <a href="http://tpbitcalc.appspot.com" rel="nofollow noreferrer">my calculator</a>. All in all, you're better with ads.</p>

CC BY-SA 3.0
2012-06-22T14:48:50.780Z
An important thing to add is that Ads do not (or at least less) disturb your customers. I would freak out if a webpage I visit starts using 100% of my GPU to mine for his own profit.
Steven Roose
CC BY-SA 3.0
2012-06-22T19:20:06.250Z
@StevenRoose in fact, at least one person on the StackExchange network alone [already has](http://unix.stackexchange.com/questions/30005/java-problem-nearly-looks-like-a-virus)
David Perry
CC BY-SA 3.0
2012-06-22T13:06:38.307Z
2012-06-22T13:29:31.703Z
2017-04-13T12:47:32.940Z
ThePiachu
<p>Some sites like <a href="http://www.bitcoinplus.com/generate">http://www.bitcoinplus.com/generate</a> allow that.</p>

<p>But can javascript take advantage of GPU?</p>

CC BY-SA 3.0
2012-06-22T04:03:02.927Z
When I clicked your link, it told me: "It looks like you don't have Java installed. Please install java at Java.com".  So it's probably Java that would need to access the GPU, not Javascript.
Chris Moore
<webminer>
Has anyone tried mining with visitors' computers
user4951
# Has anyone tried mining with visitors' computers

(Asked by: username_0 on 2012-06-22)

Some sites like <http://www.bitcoinplus.com/generate> allow that.

But can javascript take advantage of GPU?

**Tags:** webminer

> **Comments:**
> **username_1**: When I clicked your link, it told me: "It looks like you don't have Java installed. Please install java at Java.com".  So it's probably Java that would need to access the GPU, not Javascript.  

---

## 1 answers

### Answer by username_2 on 2012-06-22. Score: 3

You should have a look at [this question](https://bitcoin.stackexchange.com/q/1520/323) about web miners.

In general, web miners use JavaScript and [WebCL](http://webcl.nokiaresearch.com/) in order to perform operations on the GPU.

However, it might not be as profitable as you think. Considering that most people have very poor GPUs. At the moment if you'd have someone with a decent 200MHash/s card on your website for 24h, you'd basically earn [3 cents](http://tpbitcalc.appspot.com/?difficulty=1583177.8474&hashrate=200.00&exchangerate=6.65&bitcoinsperblock=50.00&rigcost=500.00&powerconsumption=200.00&powercost=0.10&investmentperiod=355). You can check how much you could earn by visiting [my calculator](http://tpbitcalc.appspot.com). All in all, you're better with ads.

> **Comments:**
> **username_3**: An important thing to add is that Ads do not (or at least less) disturb your customers. I would freak out if a webpage I visit starts using 100% of my GPU to mine for his own profit.  
> **username_4**: @username_3 in fact, at least one person on the StackExchange network alone [already has](http://unix.stackexchange.com/questions/30005/java-problem-nearly-looks-like-a-virus)  

---

