Neopets - Daily Quest Helper

Adds a link to daily quests if available

作者
Zara Kayn
日安装量
0
总安装量
1,091
评分
1 0 0
版本
1.0
创建于
2023-11-07
更新于
2024-01-19
大小
2.9 KB
许可证
暂无
适用于

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.