0
Tampermonkey가 온라인 양식을 작성하려고합니다. 그것은 4 번 중 1 번마다 작동하며, bigcartel 스토어에서 간단한 체크 아웃 프로세스 만 수행하면됩니다. 누구든지 도와 줄 수 있습니까?Tampermonkey 스크립트는 산발적으로 작동합니까?
그것은 그들은 모두 매우 일반적이기 때문에 자신의 플랫폼을 사용하는 모든 상점에서 작동해야, 즉 http://groundup.bigcartel.com
내 코드;
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @include https://checkout.bigcartel.com/*
// @include https://*.bigcartel.com/product
// @include https://*.bigcartel.com/cart
// @grant none
// ==/UserScript==
// on "/cart" page click checkout button
document.getElementByName("checkout").click();
// fill first three form fields
document.getElementById("buyer_first_name").value = "John";
document.getElementById("buyer_last_name").value = "Smith";
document.getElementById("buyer_email").value = "[email protected]";
// click "next" button
document.getElementByType("submit").click();
이 완벽하게 작동합니다 : 여기
는 작업 스크립트입니다 – oversoon