getnada.com Ads.txt file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
<script>
const inboxes = window.localStorage.getItem('inboxes')
if (inboxes) {
try {
var state_obj = JSON.parse(inboxes)
} catch (e) {
console.log('not valid json')
location.href = `https://inboxes.com`;
}
fetch('https://inboxes.com/api/v2/legacy/migration', {
method: "POST",
credentials: "include",
body: JSON.stringify({ state: state_obj }),
headers: {
"Content-Type": "application/json",
}
}).then(function (response) {
console.log('success!', response);
window.localStorage.removeItem('inboxes')
location.href = `https://inboxes.com?utm=${state_obj.user_id}`;
}).catch(function (err) {
console.warn('Something went wrong.', err);
location.href = 'https://inboxes.com';
});
} else {
location.href = 'https://inboxes.com';
}
</script>
</head>
<body>
<p>hello</p>
</body>
</html>