Greasy Fork

Greasy Fork is available in English.

游侠游戏截图广告去除

去除游侠简介中游戏截图中广告。

目前为 2021-10-19 提交的版本,查看 最新版本

// ==UserScript==
// @name          游侠游戏截图广告去除
// @description   去除游侠简介中游戏截图中广告。
// @version       1.0.2
// @namespace     游侠游戏截图广告去除
// @icon          data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @author        会说话的鱼
// @include       *//down.ali213.net/*
// @require       https://cdn.bootcdn.net/ajax/libs/jquery/2.1.4/jquery.min.js
// @run-at        document-start
// @grant         none
// @rewritten_script_code javascript
// ==/UserScript==

(function () {
	'use strict';
	$(document).ready(function () {
		init();
	});
})();

function init() {
	$(function(){
		setInterval(function (){
			if($('.detail_body_con_bb_con_con #gc0')) {
				$('.detail_body_con_bb_con_con #gc0').click();
				clearInterval(fun);
			}
            		if(i >= 10) clearInterval(fun);
            		i++;
		}, 1000);
	})
}