Greasy Fork

carefree fun

Snippet de uso personal, adicional para pasar acortadores. Try to take over the world!

目前为 2023-01-29 提交的版本。查看 最新版本

// ==UserScript==
// @name        carefree fun
// @namespace   Violentmonkey Scripts
// @match       *://freetrx.fun/*
// @match       *://go.madshiba.fun/*
// @match       *://go2.madshiba.fun/*
// @match       *://test.madshiba.fun/*
// @match       *://tech.madshiba.fun/*
// @match       *://blog.madshiba.fun/*
// @match       *://wiki-topia.com/*
// @match       *://zed.madshiba.fun/*
// @match       *://blog.cryptowidgets.net/*
// @match       *://blog.insurancegold.in/*
// @match       *://blog.wiki-topia.com/*
// @match       *://blog.mdn.lol/*
// @match       *://claimtron.club/*
// @match       *://adlink.bitcomarket.net/*
// @match       *://blog.freeoseocheck.com/*
// @match       *://blog.coinsvalue.net/*
// @match       *://blog.cookinguide.net/*
// @match       *://blog.webfreetools.net/*
// @match       *://blog.greenenez.com/*
// @match       *://blog.coinscap.info/*
// @run-at      document-end
// @grant       none
// @version     1.7
// @author      sABER (juansi) Contribuciones via FaucetPay User: Crypto4Script
// @description Snippet de uso personal, adicional para pasar acortadores. Try to take over the world!
// ==/UserScript==
(function() {'use strict';
function captcha_required(selector) {const t= setInterval( function() { if (window.grecaptcha && !!window.grecaptcha.getResponse()) { document.querySelector(selector).submit(); clearInterval(t);}}, 3000);}
function espera(selector){window.setTimeout(function() { document.querySelector(selector).submit(); }, 5000);}
function docReady(fn){ if (document.readyState === "complete" || document.readyState === "interactive") {setTimeout(fn, 1000);} else {document.addEventListener("DOMContentLoaded", fn);}}
function nagScreen() {const lista_de_molestias = document.querySelectorAll('text,.holidAds,.col-sm-12.col-lg-3.col,li,div.form-group,.col-sm-12.col-lg-8.col,h1,h2,h3,h4,p,table.b,#w2g-slot1-cnt,#w2g-slot2-cnt,#w2g-slot3-cnt'); for (const element of lista_de_molestias) {element.remove();}}
docReady(nagScreen);
var l = new URL(window.location.href);
var enlace_principal = /zed.madshiba.fun|freetrx.fun|go.madshiba.fun|go2.madshiba.fun|test.madshiba.fun|tech.madshiba.fun|blog.madshiba.fun/;
var enlace_principal2 = /blog.coinscap.info|blog.greenenez.com|blog.cookinguide.net|blog.coinsvalue.net|wiki-topia.com|blog.wiki-topia.com|blog.insurancegold.in|claimtron.club|adlink.bitcomarket.net/;
var enlace_principal3 = /blog.freeoseocheck.com|blog.cryptowidgets.net|blog.webfreetools.net/;
const getCookieValue = (name) => decodeURIComponent(document.cookie.match('(^|;)\\s*' + name + '\\s*=\\s*([^;]+)')?.pop() || '');
var Inp = getCookieValue('inp'); var Spcl = getCookieValue('spcl'); var elemento1 = document.querySelector(`input[value="${Spcl}"]`);
if (l.host == 'blog.mdn.lol'){ if (document.querySelector('.g-recaptcha')){captcha_required('form');} else { document.querySelector('input[value=Continue]').click(); }
} else { if (enlace_principal.test(l.host)) { var _name= 'countsdown';
} else if (enlace_principal2.test(l.host)) { _name = 'countdown';
} else if (enlace_principal3.test(l.host)) { _name = 'click'; }
elemento1.setAttribute( 'name', _name + Inp);
if (document.querySelector('.g-recaptcha')) { captcha_required('form'); } else { espera('form') }}})();