有關搶票的腳本

PoPo
redigerte July 18 i Development [?]
// ==UserScript==
// @name         Passmarket搶票
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       TEST
// @match        http://*https://secure.passmarket.yahoo.co.jp/order/buy/edit?event_id=01d2kj108umg7*
// @grant        none
// ==/UserScript==

    var li.number = document.querySelector("#content > section.ypMdTicketApp.decSeatSlt > div > div > form > div > div.ptsItemSelect > section:nth-child(1) > div.untFoot.cf > ul > li.number > div > input.psm-inputClass");
    if (li.number) buyAmount.value = ticketNumber;

(function() {
    'use strict';
$(document).ready(function() {
$("button:contains("#content > section.ypMdTicketApp.decSeatSlt > div > div > form > div > div.dvBtnArea > a")").click();
});

(function() {
    'use strict';
$(document).ready(function() {
$("button:contains("#content > section.ypMdTicketApp > div > div > div > a")").click();
});
    //LAST
    (function() {
    'use strict';
$(document).ready(function() {
$("button:contains("#content > section.ypMdTicketApp > div > div.decBgWh > div > div > a")").click();
});
//
     var #content > section.ypMdTicketApp > div > div.decBgWh > div > div > a = document.getElementById("#content > section.ypMdTicketApp > div > div.decBgWh > div > div > a");
    if (#content > section.ypMdTicketApp > div > div.decBgWh > div > div > a) {
        // 提交
        #content > section.ypMdTicketApp > div > div.decBgWh > div > div > a.click();

})();

因為在網上沒有Passmarket的腳本,自己嘗試寫了一個腳本。
參考了其他搶票腳本但是好像不太成功...

Logg inn eller Registrer deg for å kommentere.