Neopets - Daily Quest Helper

Adds a link to daily quests if available

Autor
Zara Kayn
Dnevne instalacije
0
Ukupno instalacija
1.099
Ocene
1 0 0
Verzija
1.0
Napravljeno
07/11/2023
Ažurirano
19/01/2024
Size
2,89 КБ
Licenca
Nije dostupno
Važi za

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.