Education purposes only!!!
giftCode = function () {
let code = "";
let letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
for (var i = 0; i < 24; i++) {
code = code + letters.charAt(Math.floor(Math.random() * letters.length));
}
window.open("https://discord.gift/"+code);
}
then
for (let i = 0; i < 9; i++) {
giftCode()
}
Bookmarklet
Here is a bookmarklet version of the code above! Yes, for education purposes only. All credit to @retronbv, I just decided to make this post and the instructions because I wanted to and I also thought you might like it. 😄
Instructions
Select all the code of a version of the bookmarklet and drag that text into your bookmarks bar. Rename it if you would like. In the future you can open up a random website, click this, wait for the nitro to load, and if you didn't receive Nitro then click the bookmarklet again. To open up a new tab of possible Discord Nitro every time you click it, hold the Ctrl key as you press your mouse onto the bookmarklet. This will work even on chromium-based new tab pages! (Clicking the bookmarklet without holding the Ctrl key will not work on chromium-based new tab pages. It will open up a gift of possible Discord Nitro in your current tab.)
Nitro
Classic