ThomasTavernier / Improve-Crunchyroll

MIT License
40 stars 11 forks source link

feat(website): add anime list integration options #20

Closed bytedream closed 5 months ago

bytedream commented 5 months ago

This adds the option to integrate AniList and MyAnimeList as additional buttons that will redirect to the series/season on the website. The links are gathered with the AniList graphql API by looking up the season name (the results of the api aren't always correct, but most of the time)

image image

(idk if the translations are correct, i've translated everything besides english with deepl)

bytedream commented 5 months ago

How should the cache work, a global object that will be empty whenever the browser/extension is reopened or something more persistent with the chrome.storage api?

ThomasTavernier commented 5 months ago

How should the cache work, a global object that will be empty whenever the browser/extension is reopened or something more persistent with the chrome.storage api?

A global object in the player window will be sufficient for this purpose