Neopets - Daily Quest Helper

Adds a link to daily quests if available

Author
Zara Kayn
Daily installs
0
Total installs
1,092
Ratings
1 0 0
Version
1.0
Created
2023-11-07
Updated
2024-01-19
Size
2.89 KB
License
N/A
Applies to

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.