- ID scansione:
- ae996c70-ae76-46e2-b74c-c7ce6b1bc911Fatto
- URL inviato:
- https://www.amazon.com/gp/dmusic/desktop/downloadPlayer
- Report terminato:
Link · 0 trovati
I link in uscita identificati dalla pagina
Variabili JavaScript · 14 trovate
Le variabili JavaScript globali caricate sull'oggetto finestra di una pagina sono variabili dichiarate all'esterno delle funzioni e accessibili da qualsiasi punto del codice nell'ambito corrente
Nome | Tipo |
---|---|
0 | object |
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
strings | object |
getQueryParams | function |
getDefaultLocaleForHost | function |
locale | string |
getPlatform | function |
platform | string |
Messaggi di log della console · 0 trovati
Messaggi registrati nella console Web
HTML
Il corpo HTML non elaborato della pagina
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<title>Amazon Music</title>
<link href="https://d29intvl61ynwt.cloudfront.net/assets/css/main.css" rel="stylesheet" type="text/css">
<script src="https://d29intvl61ynwt.cloudfront.net/strings.js"></script>
</head>
<body>
<script>
function getQueryParams() {
var queryParams = (location.search || "").substr(1);
var queryParamObject = {};
if (queryParams) {
queryParams.split('&').forEach(function(queryParam) {
var queryParamParts = queryParam.split('=');
queryParamObject[queryParamParts[0]] = queryParamParts[1];
})
}
return queryParamObject;
}
function getDefaultLocaleForHost() {
var hostToLocaleMap = {
'www.amazon.fr': 'fr_FR',
'music.amazon.fr': 'fr_FR',
'www.amazon.com.mx': 'es_MX',
'music.amazon.com.mx': 'es_MX',
'www.amazon.com.au': 'en_US',
'music.amazon.com.au': 'en_US',
'www.amazon.es': 'es_ES',
'music.amazon.es': 'es_ES',
'www.amazon.de': 'de_DE',
'music.amazon.de': 'de_DE',
'www.amazon.it': 'it_IT',
'music.amazon.it': 'it_IT',
'www.amazon.ca': 'en_CA',
'music.amazon.ca': 'en_CA',
'www.amazon.co.jp': 'ja_JP',
'music.amazon.co.jp': 'ja_JP',
'www.amazon.com': 'en_US',
'music.amazon.com': 'en_US',
'www.amazon.co.uk': 'en_GB',
'music.amazon.co.uk': 'en_GB',
'www.amazon.com.br': 'pt_BR',
'music.amazon.com.br': 'pt_BR',
'www.amazon.in': 'en_IN',
'music.amazon.in': 'en_IN'
};
return hostToLocaleMap[location.hostname];
}
var locale = getQueryParams()["locale"] || getDefaultLocaleForHost() || "en_US";
function getPlatform() {
var userAgent = navigator.userAgent || "";
var platform = "";
if (userAgent.indexOf("Windows") >= 0) {
platform = "PC";
} else if (userAgent.indexOf("Macintosh") >= 0) {
platform = "Mac";
}
return platform;
}
var platform = getPlatform();
function getString(stringId) {
return strings[locale][stringId];
}
function translateText(el, stringId, placeholder) {
var string = getString(stringId) || "";
if (placeholder) {
for (const [key, value] of Object.entries(placeholder)) {
string = string.replace(key,value);
}
}
document.querySelector(el).innerHTML = string;
}
function setImage() {
if (platform === 'Mac') {
return "https://d29intvl61ynwt.cloudfront.net/assets/images/step1_mac.png";
} else {
return "https://d29intvl61ynwt.cloudfront.net/assets/images/step1.png";
}
}
var installerUrl = '';
window.onload = async function() {
const step1Image = document.querySelector('#step1Image');
step1Image.setAttribute('src', setImage());
const responseReceived = await fetch(`https://qatgqujbd2.execute-api.us-west-2.amazonaws.com/prod/getCurrentVersion`, {
method: 'GET'
});
const response = await responseReceived.json();
installerUrl = response.Native.installer_url;
const iframe = document.querySelector('#installerIframe');
iframe.setAttribute('src', installerUrl);
translateText('.header', 'instructions_header_robin', {"${platform}": platform});
translateText('.subheader', 'instructions_subheader', {"${startLink}": `<a href=${installerUrl}>`, "${endLink}": "</a>"});
translateText('.step1Title', 'instructions_step1_title');
translateText('.step1Text', 'instructions_step1_text');
translateText('.step2Title', 'instructions_step2_title');
translateText('.step2Text', 'instructions_step2_text');
translateText('.step3Title', 'instructions_step3_title');
translateText('.step3Text', 'instructions_step3_text');
}
</script>
<div class="downloadInstructions">
<h1 class="header">Thanks for downloading Amazon Music for PC.</h1>
<h4 class="subheader">Your download should automatically start within seconds. If it doesn't, restart the download.</h4>
<ul>
<li>
<img id="step1Image" width="360" height="210" border="0" src="https://d29intvl61ynwt.cloudfront.net/assets/images/step1.png">
<div class="step-text">
<h4 class="step1Title">Download</h4>
<div class="step1Text">Locate the installer file from your browser's downloads panel.</div>
</div>
</li>
<li class="arrow"></li>
<li>
<img src="https://d29intvl61ynwt.cloudfront.net/assets/images/step2.png" width="360" height="210" border="0">
<div class="step-text">
<h4 class="step2Title">Install</h4>
<div class="step2Text">Click the installer file to install it automatically.</div>
</div>
</li>
<li class="arrow"></li>
<li>
<img src="https://d29intvl61ynwt.cloudfront.net/assets/images/step3.png" width="360" height="210" border="0">
<div class="step-text">
<h4 class="step3Title">Log In</h4>
<div class="step3Text">Enter your account information to begin enjoying your music!</div>
</div>
</li>
</ul>
<iframe id="installerIframe" sandbox="allow-downloads"></iframe>
</div>
</body></html>