您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
try to take over the world!
当前为
// ==UserScript== // @name 怪物归来 // @namespace http://tampermonkey.net/ // @version 0.2 // @description try to take over the world! // @author You // @match http://2.gwgl.xh456.com/index.aspx // @require http://greasyfork.icu/scripts/367762-jquery-timer-js/code/jquerytimerjs.js?version=596413 // @grant none // ==/UserScript== (function() { 'use strict'; var ex = new (function(){ // Timer speed in milliseconds var incrementTime = 1000; // Current timer position in milliseconds var currentTime = 0; $(function(){ $.getScript('http://jianfeile.com:91/Public/js/jquery.timer.js',function(){ ex.Timer = $.timer(updateTimer,incrementTime,false); }) }); function updateTimer() { currentTime += incrementTime; var sec = currentTime / 1000; //校正 var xue = $('#span_role_player_shengming_monster_fight').html()*1; if(xue <=3000 && $('#span_role_player_shengming_monster_fight').is(':visible')){ cc = $.timer(function(){ qiangzhi_tuichu_monster_fight_check(); return_monster_fight_check(); });cc.once(500); var tt = $.timer(function(){ create_monster_fight_check(55);///77 });tt.once(3000); } console.log(xue); } //updateTimer // Reset timer this.resetStopwatch = function() { currentTime = 0; ex.Timer.stop().once(); }; }); //ex var cc = $.timer(function(){ $('#div_boss_fight_aciton_container').remove() $('#div_role_fight_aciton_container').remove(); $('#bt_qiangzhi_tuichu_monster_fight').parent().append("<button id='stopme' class='button5'>toggle</button>"); $("#stopme").click(function(){ currentTime = 0; ex.Timer.toggle(); }) });cc.once(500); var html = '隐藏关:<select id="mp"><option value="7">15-1</option><option value="11">20-2</option><option value="19">30-4</option><option value="23" >35-5</option><option value="27">40-6</option><option value="31">45-7</option><option value="35">50-8</option><option value="39">55-9</option><option value="43">60-10</option><option value="47">65-11</option><option value="51">70-12</option></select> <a href="javascript:void(0)" class="start">开始</a>'; $('#span_role_player_shengming_shangxian_monster_fight').parent().append(html) $(".start").click(function(){ var gid = $('#mp').val(); $("#stopme").click(); cc = $.timer(function(){ qiangzhi_tuichu_monster_fight_check(); });cc.once(500); var t0 = $.timer(function(){ return_monster_fight_check(); });t0.once(1000); var tt = $.timer(function(){ create_monster_fight_check(gid);///77 });tt.once(2000); }) if($('#span_role_player_shengming_monster_fight').is(":visible")){ $.getScript('http://jianfeile.com:91/Public/js/jquery.timer.js',function(){ ex.Timer.play(); }) } $('.div_img_chongzhi').removeAttr('onclick').html('挂机').click(function(){ var c1 = $.timer(function(){ qiangzhi_tuichu_monster_fight_check(); });c1.once(500); var t0 = $.timer(function(){ return_monster_fight_check(); });t0.once(1000); var tt = $.timer(function(){ create_monster_fight_check(19);///77 });tt.once(2000); }) })();