PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.53k stars 366 forks source link

[RFC] CS Use main world with Referrer Policy: strict-origin-when-cross-origin #717

Closed apades closed 1 year ago

apades commented 1 year ago

What happened?

record

I have try some other site with 'strict-origin-when-cross-origin', it seems this header make MAIN script can not inject into web.

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

Code of Conduct

louisgv commented 1 year ago

I don't think this is a bug, but rather a limitation of the MAIN world injection technique. Should rename to feat instead.

apades commented 1 year ago

i have find how it happend, i was set value in package.json manifest.host_permissions, this will cover base config host_permissions:["https:///"]