您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
The jQuery Simulate Extended plugin (a.k.a. jquery-simulate-ext) provides methods for simulating complex user interactions based on the jQuery.simulate() plugin. The plugin provides simulation of: (i) Drag & Drop, (ii) Key Sequences, (iii) Key Combinations. Additionally, the extended plugin includes documentation and fixes for the jQuery simulate plugin itself.
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.gf.qytechs.cn/scripts/24820/745006/jquery-simulate-ext.js
/*jshint camelcase:true, plusplus:true, forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, unused:true, curly:true, browser:true, devel:true, maxerr:100, white:false, onevar:false */ /*global jQuery:true $:true */ /* jQuery Simulate Extended Plugin 1.3.0 * http://github.com/j-ulrich/jquery-simulate-ext * * Copyright (c) 2014 Jochen Ulrich * Licensed under the MIT license (MIT-LICENSE.txt). */ ;(function( $ ) { "use strict"; /* Overwrite the $.simulate.prototype.mouseEvent function * to convert pageX/Y to clientX/Y */ var originalMouseEvent = $.simulate.prototype.mouseEvent, rdocument = /\[object (?:HTML)?Document\]/; $.simulate.prototype.mouseEvent = function(type, options) { options = options || {}; if (options.pageX || options.pageY) { var doc = rdocument.test(Object.prototype.toString.call(this.target))? this.target : (this.target.ownerDocument || document); options.clientX = (options.pageX || 0) - $(doc).scrollLeft(); options.clientY = (options.pageY || 0) - $(doc).scrollTop(); } return originalMouseEvent.apply(this, [type, options]); }; })( jQuery );
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址