Compare commits

..

No commits in common. "8775c21d77af3ea8c910dac7b7a65020a70d56d0" and "bf96b9f97b777a24d546d9a6c1d7ae52c16488da" have entirely different histories.

3 changed files with 2 additions and 11 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name AliExpress Invoice Downloader
// @namespace https://www.aliexpress.com
// @version 1.1
// @version 1.0
// @description Adds download buttons to the Aliexpress order page (https://www.aliexpress.com/p/order/index.html) and a bulk download button to download all invoices on the order page to save time.
// @match https://www.aliexpress.com/p/order/index.html*
// @grant GM_download
@ -43,10 +43,7 @@
}
function sanitizeFileName(name) {
const sanitized = name
.replace(/[^\x00-\x7F]/g, "")
.replace(/\s+/g, "_")
.replace(/[/\\?%*:|"<>]/g, "_"); // Remove illegal filename characters
const sanitized = name.replace(/[^\x00-\x7F]/g, "").replace(/\s+/g, "_");
return sanitized.substring(0, 16);
}

View File

@ -5,9 +5,3 @@
### [Mirror (Greasyfork)](https://greasyfork.org/en/scripts/488177-aliexpress-invoice-downloader)
Adds download buttons to the Aliexpress order page (https://www.aliexpress.com/p/order/index.html) and a bulk download button to download all invoices on the order page to save time.
Adds a red "download all invoices" button in the bottom left corner
Adds a button to each order to download individual invoices quickly without needing to open the "order details" page
![order button image](image.png)

BIN
image.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB