Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
User Script - (userscript) precheck checkboxes in order detail
// ==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
You can’t perform that action at this time.