Created
December 27, 2017 13:25
-
-
Save luckylooke/c312615b884099d0d19d8f0d06f259a5 to your computer and use it in GitHub Desktop.
User Script - (userscript) precheck checkboxes in order detail
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 Aliexpress - precheck order detail | |
// @namespace https://aliexpress.com/ | |
// @version 1.0.0 | |
// @description precheck checkboxes in order detail | |
// @author luckylooke | |
// @match https://trade.aliexpress.com/order_detail.htm* | |
// @grant none | |
// ==/UserScript== | |
/* | |
source: https://gist.github.com/luckylooke/c312615b884099d0d19d8f0d06f259a5 | |
Changelog: | |
1.0.0 Precheck order detail | |
*/ | |
(function() { | |
'use strict'; | |
// setTimeout for page readiness | |
setTimeout(function(){ | |
var all = document.getElementsByClassName('select-input-orderId'); | |
var l = all.length; | |
for(var i=0; i<l; i++) | |
all[i].click(); | |
}, 300); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment