This script is to show as a example how easy it is to embed a nice floating mining widget into your site for your users to interact with. It is very easy to modify / read you can easly change the designs colors and styles yourself, I do hope you Enjoy it.
Any issues feel free to post a issue request : https://github.com/C0nw0nk/CoinHive/issues
Any contibutions feel free to make a pull request : https://github.com/C0nw0nk/CoinHive/pulls
I do look forward to people sharing improvements.
Live in action Demo :
Reasons both Users of sites and Publishers prefer this over being reliant on advertising for revenue / income :
Advertisements are invasive and annoying this is not.
Majority of users given the choice between seeing allot of banners/popups in order to access sites and content or have some of their CPU cycles borrowed will choose to mine instead of seeing ads on any website.
Advertisements waste bandwidth, resources and are always locked in view on screen (otherwise it defeats the purpose of ads being displayed if you can't see them), Mining how ever can run silently in the backround is not annoying or invasive and does not take over your browser opening tabs / windows when you click anywhere.
Reasons for this script :
It is silent can use little to no cpu power and provides a clean ad free internet experience while allowing the sites you love to stay online.
Ads can be intrusive and annoying, Look at popups for example, flashing images, auto playing sounds etc.
Advertisers don't pay for VPN/Proxy connected or related traffic because they consider it BOT traffic without considering the fact it is only increasing as goverments and who ever you pay every month to supply you with internet access create blockades and blacklists forcing people to use such services to access sites. If someone connects and browses with a known flagged VPN/Proxy to them even if that user is displaying ads and can see them you earn nothing from advertising.
Advertisers can scam and won't pay a penny for the most outrageous of reasons.
Advertisers take a percentage before paying you.
Banks, Paypal all also take a percentage and charge fees on transactions of money earned leaving you with less and less hard earned money for your work.
Same problems as advertisers have with adblockers :
People use their hosts files to blackhole and block domains they can do the same with this. Your internet service provider also blocking domain access to this script, Soloution can be to login to your account online and turn off parental filters etc what ever it is listed under if they allow you to remove the blocks.
Anti-Viruses and external programs block mining but not popups or other ads that are far more intrusive. (I realy questioned why AV Software and Internet service providers block this script but not the companies taking over my browser with popup windoiws and opening as many tabs as they please.)
Questionable behaviour by companies who oppose this :
Ads, popups get allowed by them all but mining gets blocked.
Companies appear to be giving special treatment and abusing services to suit their own gains and needs. If not then why do Parental filters, Anti-Virus companies and Internet service providers with online protection shields ( http://www.sky.com/shop/broadband-talk/broadband-shield/ being a prime example) openly block access to this but never have and never will block worse forms of advertising such as popads and mobile redirects those are the domains that deserved to be blocked if they want to start acting like adblockers.