Skip to content

Instantly share code, notes, and snippets.

@luckylooke
Created December 27, 2017 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luckylooke/c312615b884099d0d19d8f0d06f259a5 to your computer and use it in GitHub Desktop.
Save luckylooke/c312615b884099d0d19d8f0d06f259a5 to your computer and use it in GitHub Desktop.
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