Freebitco.in Autoclaim Play Without Captcha + Force Refresh Page

Autoclaim Play Without Captcha Freebitco.in + Force Refresh Page

< Feedback on Freebitco.in Autoclaim Play Without Captcha + Force Refresh Page

Question/comment

§
Posted: 2020-03-14

jquery/$ is not defined (using chrome by the way)?

Hi, I actually wanted to use this script here: https://greasyfork.org/en/scripts/370858-freebitco-in-autoclaim-play-without-captcha-force-refresh-page/code

However since it doesnt do anything and cause I dont understand how a setinterval INSIDE a setinterval is supposed to work (this makes no sense, does it? how can 2 setintervals work at once without interference?), I wanted to simplify it to the point where it simply just clicks the button every ..... seconds and nothing else. So I edited his script and wrote this code:

// ==UserScript==
// @name         Freebitco.in Autoclaim Play Without Captcha + Force Refresh Page
// @namespace    By youtube.com/c/BITCOINCHANNEL
// @version      0.1.1
// @description  Autoclaim Play Without Captcha Freebitco.in + Force Refresh Page
// @author       BITCOINCHANNEL
// @match        https://freebitco.in/?op=home
// @match        https://freebitco.in/?op=home#
// @match        https://freebitco.in/
// @grant        none
//@requires      jQuery
// ==/UserScript==

  jQuery(document).ready(function(){
    if (jQuery('free_play_form_button').is(':visible')) {
       jQuery('free_play_form_button').trigger('click');
    }
    setInterval(function(){
       //$('free_play_form_button').trigger('click');
       if (jQuery('free_play_form_button').is(':visible')) {
           jQuery('free_play_form_button').trigger('click');
       }
    },3630000);
  });

At first I had used $(...), but when loading the freebitco.in site it told me in the console that $ was not defined. Thinking I am smart, I replaced all the $ with jQuery. However now jquery is not defined is the error so it doesnt work either :-(

Am I doing something wrong here or what might be the problem? Or have greasyfork scripts changed, so they dont work in chrome anymore?

(and yeah, sorry about the @ parts, I have not the slightest idea what would have to be changed how there. I only took the original script and changed the code, leaving the head part unchanged. Tribute to whoever tribute is due.)

§
Posted: 2020-03-15

anyone got an idea what I might be doing wrong? :-(

§
Posted: 2020-03-15

I just took the line // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js from another script that I know works (even though for different purposes, but it uses jquery as well) so the not defined error disappeared (apparently you actually need to import jquery via some @require command)

even though thing is: it still doesnt work. I dont see any errors in the console when on the site, with the script running. but it jsut... doesnt click the button. it doesnt do anything at all so this time the code itself must be wrong somehow. anyone got a good idea? :-/

Post reply

Sign in to post a reply.