PlasmoHQ / plasmo

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

[RFC] Change shadow dom define name #981

Open mrskiro opened 1 month ago

mrskiro commented 1 month ago

How do you envision this feature/change to look/work like?

I want to change the name of shadow dom named plasmo-csui

What is the purpose of this change/feature? Why?

Installing multiple extensions made with plasmo will cause inconvenience in element search.

(OPTIONAL) Example implementations

No response

(OPTIONAL) Contribution

Verify canary release

Code of Conduct

mrskiro commented 3 weeks ago

Self solved.

It was to define getRootContainer and reinvent the wheel with createShadowContainer.

Perhaps an option like getShadowHostName would be more useful. Like getShadowHostId.