Greasy Fork is available in English.

Kitsu External Links

adds a link to myanimelist and anilist on Kitsu entries

< Commentaires sur Kitsu External Links

Question / commentaire

§
Posté le: 26/08/2022

I suggest adding a header like in the screenshot

Here's the code for it if you'd like to just copy-paste

const getLinksContainer = container => {
    const node = document.createElement('div');
    node.classList.add('where-to-watch-widget');
    const header = document.createElement('span');
    header.classList.add('where-to-watch-header');
    const headerText = document.createElement('span');
    headerText.textContent = "External Links";
    header.appendChild(headerText);
    node.appendChild(header);
    const links = document.createElement('ul');
    links.classList.add('nav');
    node.appendChild(links);
    container.appendChild(node);
    return links;
};

Poster une réponse

Connectez-vous pour poster une réponse.