Fix for new Microsoft blocks, update source URL

This commit is contained in:
Ave
2023-01-09 00:04:01 -05:00
parent 505f46a2f4
commit 83cd3c886c
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
<body>
<h1>Microsoft Software Download Listing</h1>
<a href="https://github.com/eraseyourknees/msdl">
<a href="https://github.com/ave9858/msdl">
<b>Source code on GitHub</b>
</a>
+2 -3
View File
@@ -106,8 +106,6 @@ function onDownloadsXhrChange() {
}
function getLanguages(productId) {
sessionId.value = uuidv4();
msContent.style.display = "none";
pleaseWait.style.display = "block";
@@ -147,7 +145,8 @@ function prepareDownload(id) {
productsList.style.display = 'none';
backToProductsDiv.style.display = 'block';
return getLanguages(id);
sessionId.value = uuidv4();
fetch('https://vlscppe.microsoft.com/tags?org_id=y6jn8c31&session_id=' + encodeURIComponent(sessionId.value)).then(() => { getLanguages(id) }, () => { getLanguages(id) });
}
function addTableElement(table, value, data) {