small update

This commit is contained in:
Ave
2023-01-22 23:02:25 -05:00
parent 83cd3c886c
commit 5e57389ef9
4 changed files with 90 additions and 81 deletions
+1
View File
@@ -5,6 +5,7 @@
#quick-search {
text-align: center;
}
#quick-search button {
padding: 6.5px;
font-size: 9pt;
+9 -4
View File
@@ -1,17 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Microsoft Software Download Listing lets you browse and download products from Microsoft Software Download.">
<meta property="description"
content="Microsoft Software Download Listing lets you browse and download products from Microsoft Software Download.">
<meta property="twitter:card" content="summary_large_image">
<meta property="og:site_name" content="Microsoft Software Download Listing">
<meta property="og:title" content="Microsoft Software Download Listing">
<meta property="og:type" content="website">
<meta property="og:description" content="Microsoft Software Download Listing lets you browse and download products from Microsoft Software Download.">
<meta property="og:image" content="https://eraseyourknees.github.io/msdl/img/cover.png">
<meta property="og:url" content="https://eraseyourknees.github.io/msdl/">
<meta property="og:description"
content="Microsoft Software Download Listing lets you browse and download products from Microsoft Software Download.">
<meta property="og:image" content="https://ave9858.github.io/msdl/img/cover.png">
<meta property="og:url" content="https://ave9858.github.io/msdl/">
<title>Microsoft Software Download Listing</title>
@@ -19,6 +22,7 @@
<link rel="stylesheet" href="css/style.css">
<script defer src="js/msdl.js"></script>
</head>
<body>
<h1>Microsoft Software Download Listing</h1>
@@ -69,4 +73,5 @@
<input id="msdl-session-id" type="hidden">
</body>
</html>
+5 -2
View File
@@ -37,7 +37,6 @@ function checkForError(content) {
if (errorMessage) {
processingError.style.display = "block";
content.style.display = "none";
return true;
}
@@ -146,7 +145,11 @@ function prepareDownload(id) {
backToProductsDiv.style.display = 'block';
sessionId.value = uuidv4();
fetch('https://vlscppe.microsoft.com/tags?org_id=y6jn8c31&session_id=' + encodeURIComponent(sessionId.value)).then(() => { getLanguages(id) }, () => { getLanguages(id) });
const xhr = new XMLHttpRequest();
xhr.onreadystatechange = () => { getLanguages(id) };
xhr.open("GET", "https://vlscppe.microsoft.com/fp/tags?org_id=y6jn8c31&session_id=" + sessionId.value, true);
xhr.send();
}
function addTableElement(table, value, data) {
+1 -1
View File
@@ -4,7 +4,7 @@ Microsoft Software Download Listing lets you browse and download products from M
Products list
-------------
The list of products available on the page is available in the `data/products.json` file. This file can be generated and updated with the [msdls](https://github.com/eraseyourknees/msdls) script.
The list of products available on the page is available in the `data/products.json` file. This file can be generated and updated with the [msdls](https://github.com/ave9858/msdls) script.
License
-------