Coder Social home page Coder Social logo

c0nw0nk / coinhive Goto Github PK

View Code? Open in Web Editor NEW
72.0 14.0 51.0 15 KB

A nice friendly simple and easly customizable GUI for coinhives javascript miner to embed onto websites so users of your site can interact with features of the miner on every single page this javascript miner is to help those who have problems with advertisements/advertising/ads popups banners mobile redirects malvertising/malware etc and provide a all around better cleaner web experience for everyone. coinhive.com

Home Page: https://c0nw0nk.github.io/CoinHive/

HTML 100.00%
javascript-miner popup mining adblocker pay traffic cpu coinhive javascript js

coinhive's Introduction

CoinHive

A nice friendly simple and easly customizable GUI for coinhives javascript miner to embed onto websites so users of your site can interact with features of the miner on every single page this javascript miner is to help those who have problems with advertising/ads/popups etc and provide a all around better cleaner web experience for everyone.

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 :

https://c0nw0nk.github.io/CoinHive/

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 :

We all have seen sites with Javascript based games that are also cpu intensive but we don't see them getting blocked by Anti-viruses, Adblockers, Internet service providers etc.

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.

coinhive's People

Contributors

c0nw0nk avatar msftserver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coinhive's Issues

The use of this on my website

I was planning to use this on my webpage until I noticed the license said copyright. So may I directly implement your example onto my webpage or do I have to write my own code to do this?

any way enable no-cache?

seems whenever my browser caches the webpage it throws a virus error due to coinhives script being cached its not a big issue as coinhive script has just been flagged as malware due to people hiding it in other programs but it would be nice if we someone could add no-caching somewhere or somehow if it is possible

Max values

Hello, how to set all the value to the maximum once the page is loaded? Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.