web extension fetch problem with firefox
Hi all,
i just finished a tiny chrome extension, and wanted to post it for firefox too.
the extension has only a popup page, and performs a simple fetch() request on a youtube account name (I.E. https://www.youtube.com/@anyAccountName)
on firefox, i got a CORS problem. usually, i can solve the problem by adding headers. but i can't solve this one...
The fun part, is that a fetch request on https://www.youtube.com works fine
here is the manifest
and here is the popup.js
any help would be appreciated :/
i just finished a tiny chrome extension, and wanted to post it for firefox too.
the extension has only a popup page, and performs a simple fetch() request on a youtube account name (I.E. https://www.youtube.com/@anyAccountName)
on firefox, i got a CORS problem. usually, i can solve the problem by adding headers. but i can't solve this one...
The fun part, is that a fetch request on https://www.youtube.com works fine
here is the manifest
and here is the popup.js
any help would be appreciated :/