|
|
|
|
|
by mbi
3190 days ago
|
|
A friend of mine has written a very popular open-source JavaScript library and has been hosting a copy on his website. Turns out that a few high-volume news sites have started using the library, but instead of downloading a copy and serving it themselves, they've been hotlinking the one on his website. As a result he is getting several million hits a day on his library's js file, directly from these website's pages. We've been tempted to include a JavaScript miner in the library he is hosting, but we're unsure of the legal implications, i.e. would the fact that he's hosting the file on his website and that the other websites have simply hotlinked it, be a valid defense? |
|
I wanted to see if I could replace the ads with a bitcoins miner and get enough revenues to continue operating the service. FYI I was making about 900€ per month at the moment.
So I installed a JavaScript miner, removed the ads and waited. The result I got was unexpected: Avast Antivirus (very popular among my visitors) flagged the site and blocked it's access. I immediatly lost about hald of the traffic. I tried with a few other opensource miners and the sentence was the same every times: users locked out by zealous anti-virus and traffic cut off by (at least) half.