chipmunk.land/nitro.html

46 lines
1.5 KiB
HTML
Raw Normal View History

2023-12-20 11:38:53 -05:00
<!DOCTYPE html>
<html>
<meta name="robots" content="index, follow">
<meta name="description" content="totally not a free nitro generator">
<meta name="keywords" content="chipmunk">
<meta name="author" content="Chipmunk">
<meta name="viewport" content="initial-scale=1">
<title>OperaGX Nitro Generator</title>
<body>
<h1>OperaGX Nitro Generator</h1>
<p>This is a website I made to generate Nitro using the OperaGX Nitro offer. Please note that this relies on a proxy I am hosting, operagx-nitro.chipmunk.land.</p>
<button id="generate-button">Generate Nitro Promotion Link</button>
<script>
const button = document.getElementById('generate-button')
button.onclick = async () => {
try {
const response = await fetch('https://operagx-nitro.chipmunk.land', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: '{"partnerUserId": "bc385c68-be5f-43c2-9713-cb2051fef65b"}'
})
const data = await response.json()
const url = 'https://discord.com/billing/partner-promotions/1180231712274387115/' + data.token
const link = document.createElement('a')
link.setAttribute('href', url)
link.innerText = url
2023-12-20 16:33:32 -05:00
const body = document.body
2023-12-20 11:38:53 -05:00
body.append(document.createElement('br'))
body.append(link)
} catch (error) {
alert(error + '')
}
}
</script>
</body>
</html>