sABER-Click shortlink helper

Script de uso personal, adicional para pasar acortadores. Contribuciones via FaucetPay User: Crypto4Script. Try to take over the world!

Version vom 10.09.2023. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        sABER-Click shortlink helper
// @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.makeupguide.net/*
// @match       *://blog.carstopia.net/*
// @match       *://blog.carsmania.net/*
// @match       *://mdn.lol/*
// @match       *://rsinsuranceinfo.com/*
// @match       *://rssoftwareinfo.com/*
// @match       *://rsfinanceinfo.com/*
// @match       *://rseducationinfo.com/*
// @match       *://rsadnetworkinfo.com/*
// @match       *://rshostinginfo.com/*
// @run-at      document-end
// @version     1.1
// @author      sABER (juansi)
// @description Script de uso personal, adicional para pasar acortadores. Contribuciones via FaucetPay User: Crypto4Script. Try to take over the world!
// ==/UserScript==

(function() { 'use strict';


function getElement(selector) {
return document.querySelector(selector);
}

function existElement(selector) {
return getElement(selector) !== null;
}

function insertCallback(){
let c = getElement('.g-recaptcha');
c.setAttribute('data-callback', 'sABER');
let s = document.createElement('script');
if ( 0 === window.jQuery ) {
s.textContent = 'function sABER() { let f = document.querySelector(".g-recaptcha").closest("form"); f.submit(); }';
} else { s.textContent = 'function sABER() { let f = $(".g-recaptcha").parents("form"); f.submit(); }'; }
document.body.appendChild(s);
}

function formSubmit(selector, time){
window.setTimeout(function(){
if ( 0 === window.jQuery ) {
var f = document.querySelector(selector).closest('form');
} else { f = $(selector).parents('form'); }
f.submit();
}, time*1000);
}

function iconCaptcha(selector){
let t = setInterval(function() {
let f = document.querySelector(".iconcaptcha-holder.iconcaptcha-theme-light.iconcaptcha-success");
if (f) { formSubmit(selector, 1); clearInterval(t); }}, 3000);
}

function invoke(selector, time){
if (existElement('.g-recaptcha')) { document.title = 'reCaptcha';
insertCallback();
}
else if (existElement('#iconcaptcha')) { document.title = 'iconCaptcha';
iconCaptcha(selector);
}
else {
formSubmit(selector, time);
}
}

                  var l = new URL(window.location.href);
                switch (l.hostname) {

                  case 'blog.cryptowidgets.net': case 'blog.insurancegold.in': case 'blog.wiki-topia.com':
                  case 'blog.freeoseocheck.com': case 'blog.coinsvalue.net': case 'blog.cookinguide.net':
                  case 'blog.makeupguide.net': case 'blog.carstopia.net': case 'blog.carsmania.net':
                    invoke('#abb', 20);
                  break;
                  case 'mdn.lol':
                    invoke('input[name="hidden"]', 15);
                  break;
                  case 'rsinsuranceinfo.com': case 'rssoftwareinfo.com': case 'rsfinanceinfo.com':
                  case 'rseducationinfo.com': case 'rsadnetworkinfo.com': case 'rshostinginfo.com':
                    invoke('input[name=csrf_test_name]', 5);
                  break;
                  default:
                  break;
                                     }
             })();