您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
快达网 票价,数量,寄送方式
// ==UserScript== // @name HKTicketing 快达网 tickets page // @namespace https://www.jwang0614.top/scripts // @version 0.2 // @description 快达网 票价,数量,寄送方式 // @author Olivia // @match https://premier.hkticketing.com/events/*/venues/*/performances/*/tickets // @grant none // ==/UserScript== (function() { 'use strict'; // Your code here... //第几档票价? Best Available Any Price Category 为0 var price_category = 0; //几个人 var people = 1; function timedRefresh(timeoutPeriod) { window.setTimeout("location.reload(true);",timeoutPeriod); } document.querySelectorAll(".seatarea li a")[price_category].click(); document.querySelectorAll(".chooseTicketsPriceTypeQuantity select")[0].selectedIndex = people; document.querySelectorAll(".chooseTicketsPriceTypeQuantity select")[0].dispatchEvent(new Event('change')); document.querySelector("#selectDeliveryType").selectedIndex = 1; document.querySelector("#selectDeliveryType").dispatchEvent(new Event('change')); if (document.querySelector("#continueBar button").disabled == true) { timedRefresh(200); } else { document.querySelector("#continueBar button").click() } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址