0

I do not want to use a CORS proxy.

I tried to search it on the internet but couldn't find anything.

MG95
  • 36
  • 3
  • @phuzi I get a CORS error with that solution – MG95 Apr 04 '23 at 13:34
  • Show us your code and manifest etc. – phuzi Apr 04 '23 at 14:31
  • I use a content script to run some js, can that be the problem? – MG95 Apr 04 '23 at 15:01
  • Possibly, you haven't shown us any code so I'm unable to comment! – phuzi Apr 04 '23 at 15:02
  • This is the js: ```js fetch("https://somewebsite/somethingelse") .then(r => r.text()).then(result => { console.log(result) }) ``` This is a part of the manifest: ```json "content_scripts": [ { "matches": [ "*://*.youtube.com/*" ], "js": [ "somescript.js" ] } ], "host_permissions": [ "https://somewebsite/*" ]``` edit: its easier to see here https://hastebin.com/share/oqijijideb.css – MG95 Apr 04 '23 at 15:11
  • Can you put the relevant code and the manifest in the question please? – phuzi Apr 04 '23 at 15:12

0 Answers0