Greasy Fork is available in English.

Bitcofarm

Sign up: https://goo.gl/A3Q2ND - Login, click on view ads and the bot starts automatically

  1. // ==UserScript==
  2. // @name Bitcofarm
  3. // @namespace http://dwarrel.com/
  4. // @version 1.0
  5. // @description Sign up: https://goo.gl/A3Q2ND - Login, click on view ads and the bot starts automatically
  6. // @author Dwarrel
  7. // @match http://bitcofarm.com/*
  8. // ==/UserScript==
  9.  
  10. (function() {
  11. if(window.location.href.indexOf("/ads") > -1){
  12. setInterval( function() {
  13. if (document.hasFocus())
  14. {
  15. var o = $('.hap').not('.disabled_pbx').parent().first();
  16. o.children().addClass('disabled_pbx');
  17. console.log(o.attr('href'));
  18. var win = window.open(o.attr('href'));
  19. if(!win)
  20. {
  21. //Broswer blocks the Popups
  22. alert('Please allow popups for this site and refresh the page');
  23. setTimeout( function() {
  24. }, 10000);
  25. }
  26. else
  27. {
  28. win.focus();
  29. }
  30. }}, 1000);
  31. }
  32. else if(window.location.href.indexOf("/modules/adview.php") > -1)
  33. {
  34. $('#bitmedad').prepend('<a href="//goo.gl/GzdRVj/" target="_blank""><img src="//goo.gl/GEPQgG" height="100%"/></a>');
  35. setInterval( function(){
  36. if($('#desc').text() === 'Completed!' || $('#desc').text() === 'Already Clicked!')
  37. {
  38. window.close();
  39. }
  40. else if($('#desc').text().trim() === 'You already clicked to this ad!' || $('#desc').text().trim() === '¡Ya has hecho clic en este anuncio!')
  41. {
  42. window.close();
  43. }
  44. }, 1000);
  45. }
  46. })();