Created
February 7, 2017 09:29
-
-
Save IanGely/87999716d949556d65eda51f402fe1e3 to your computer and use it in GitHub Desktop.
Buy Meitu Phone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Buy Meitu Phone | |
// @namespace Buy Meitu Phone | |
// @description Buy Meitu Phone | |
// @match http://cart.meitu.com/choose/m6s | |
// @version 0.1 | |
// @copyright 2017+, IanGely | |
// ==/UserScript== | |
function YTFunc() { | |
try { | |
document.querySelectorAll("li.J_speciType")[0].click(); | |
document.querySelectorAll("li.J_speciColor")[1].click(); | |
document.querySelectorAll("a.btn-submit")[0].click(); | |
} | |
catch (e) { } | |
} | |
//window.setTimeout(YTFunc, 1000); | |
setInterval(function(){ | |
YTFunc(); | |
},1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment