Neopets - Daily Quest Helper

Adds a link to daily quests if available

Auteur
Zara Kayn
Installations quotidiennes
0
Installations (total)
1 099
Notes
1 0 0
Version
1.0
Créé
07/11/2023
Mis à jour
19/01/2024
Taille
2,89 ko
Licence
N/A
S'applique à

Just copy and paste this.

Where I have written in the code: "If you want to add more links to a quest, do what I did below here"

It is an example of how to add multiple links to a quest. Just create another link and another desc.appendChild(newLink);

Each link will be labeled as [Link] by default on the quest page. If you do not like this, then when declaring a new link, you can pass in a second parameter to the createLink. E.g.

const link = createLink('https://www.neopets.com/objects.phtml?type=shop&obj_type=14', "Choc Factory");

This will now appear as [Choc Factory].

I've tried to use very simple code without any optimisation so that non technical people can expand on it.