Greasy Fork

carefree fun

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

目前为 2023-03-08 提交的版本。查看 最新版本

// ==UserScript==
// @name        carefree fun
// @namespace   Violentmonkey Scripts
// @match       *://blog.cryptowidgets.net/*
// @match       *://blog.insurancegold.in/*
// @match       *://blog.wiki-topia.com/*
// @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.8
// @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 esperar_no_te_cuesta_nada(selector){window.setTimeout(() => { 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('.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 = /blog.freeoseocheck.com|blog.cryptowidgets.net|blog.webfreetools.net/;
             var enlace_principal2 = /blog.cookinguide.net|blog.coinsvalue.net|blog.wiki-topia.com|blog.insurancegold.in|blog.coinscap.info|blog.greenenez.com/;
             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 (enlace_principal.test(l.host)) { var _name= 'click';
                                                } else if (enlace_principal2.test(l.host)) { _name = 'countdown';}
             elemento1.setAttribute( 'name', _name + Inp); esperar_no_te_cuesta_nada('form');})();