在您安装前,Greasy Fork 希望您知道此脚本声明其包含了一些负面功能。这些功能也许会使脚本作者获利,而不能给您带来任何直接的金钱收益。
作者可从这份脚本获得佣金,例如通过修改链接地址或提供优惠券代码以包含推荐或附属代码。
脚本作者的说明:
此提示为GreasyFork代码规范要求含有查券功能的脚本必须添加,实际使用无任何强制跳转,代码可查,请知悉。
如果需要选择商品类型,请提前选择好类型会自动刷新,速度取决于您的当前网络!
当前为
// ==UserScript==
// @name 淘宝定时开抢
// @namespace http://tampermonkey.net/
// @version 0.3
// @description 如果需要选择商品类型,请提前选择好类型会自动刷新,速度取决于您的当前网络!
// @author Freeze
// @icon https://www.google.com/s2/favicons?sz=64&domain=tmall.com
// @grant none
// @include *://item.taobao.com/*
// @include *://s.taobao.com/search*
// @include *://list.tmall.com/search_product.htm*
// @include *://detail.tmall.com/*
// @include *://chaoshi.detail.tmall.com/*
// @include *://detail.tmall.hk/*
// @grant GM_setClipboard
// @run-at document-end
// @connect shangxueba365.com
// @connect api.wandhi.com
// @connect cdn.jsdelivr.net
// @connect tool.manmanbuy.com
// @connect xbeibeix.com
// @connect gwdang.com
// @grant unsafeWindow
// @grant GM_xmlhttpRequest
// @grant GM_info
// @grant GM.addStyle
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_notification
// @grant GM_openInTab
// @grant GM_deleteValue
// @grant GM_registerMenuCommand
// @grant GM_unregisterMenuCommand
// @compatible firefox
// @compatible chrome
// @compatible opera safari edge
// @compatible safari
// @compatible edge
// @antifeature referral-link 此提示为GreasyFork代码规范要求含有查券功能的脚本必须添加,实际使用无任何强制跳转,代码可查,请知悉。
// @license MIT
// ==/UserScript==
(function() {
'use strict';
var dom = document.querySelector('#J_LinkBuy') || document.querySelector('.J_LinkBuy');
window.setInterval(fn, 100);
function fn() {
if(!dom) return;
dom.offsetParent ? dom.click() :window.location.reload();
}
})();