您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Patches most Shortzon shrtz.me links to remove ads, timer, and make them automatically proceed after captcha is solved.
当前为
// ==UserScript== // @name shrtz.me Ad Patch // @namespace Shortzon // @version 0.1 // @description Patches most Shortzon shrtz.me links to remove ads, timer, and make them automatically proceed after captcha is solved. // @author 4channel Pirate // @include http://*/* // @include https://*/* // @require http://code.jquery.com/jquery-3.3.1.min.js // @grant none // @run-at document-start // ==/UserScript== var timeVal = 100; autoProceed = function() { if ($('#countdown').length) { var e = $('#go-link'); var n = e.find("button"); $('#timer').text(Math.floor(Math.random() * 1596)) $.ajax({ dataType: 'json', type: 'POST', url: e.attr('action'), data: e.serialize(), beforeSend: function(t) { 'banner' === ad_type && (n.attr('disabled', 'disabled'), $('a.get-link').text(atob('TGVhdmluZyBzaGl0dHkgYWQgc2l0ZS4uLiB3YWl0IG9uZSBtb21lbnQgYnJv')), $('#timer').text('0')), 'interstitial' === ad_type && n.attr('disabled', 'disabled') }, success: function(t, e, n) { if (t.url.length != 0) { window.location.replace(t.url); $('#countdown').parent().find('h4').text(atob('WW91ciBsaW5rIGlzIHJlYWR5LiBSZWRpcmVjdGluZyB0byB5b3VyIGxpbmsgbm93IQ')); $('#countdown').remove(); } }, error: function(t, e, n) { $('#timer').text('REEE'); }, complete: function(t, e) {} }) } var autoSubmit = window.setInterval(function() { var subBtn = $('#invisibleCaptchaShortlink'); var subBtnTxt = 'V2FpdGluZyBmb3IgeW91IHRvIHNvbHZlIHRoZSBjYXB0Y2hhLi4u'; if (subBtn.length && subBtn.is(':enabled') && subBtn.text() == atob(subBtnTxt)) { subBtn.text(atob('UHJvY2Vzc2luZyBzb2x2ZWQgY2FwdGNoYSBhbnN3ZXIgbm93Li4u')); subBtn.click(); } if (subBtn.length && subBtn.is(':disabled')) { subBtn.text(atob(subBtnTxt)); } }, timeVal); } autoFixPage = function() { if ($('footer').length) { $('.text-left,strong').remove(); $('#link-view').contents().filter(function() { return (this.nodeType == 3); }).remove(); $('#link-view').find('br,center:eq(1)').remove(); $('.cookie-message,.cookie-confirm').parent().remove(); $('center:eq(0),#mainNav,.banner-inner,footer').remove(); $('.box-main').css({ 'border': 'none' }); $('#invisibleCaptchaShortlink').html('Submit'); } } $(document).ready(function() { if ($("html:contains(atob(TWFkZSB3aXRoIOKZpSBpbiBJbmRpYQ==))")) { window.setInterval('autoFixPage(); autoProceed();', timeVal); } }); window.setInterval('checkAdblockUser = checkAdsbypasserUser = checkPrivateMode = null;', timeVal);