isibbot
isibbot
PD🧩 Plasmo Developers
Created by isibbot on 5/13/2024 in #🔰newbie
Altering an anchors markup/inline styles
Is there a way (maybe involving the main world?) to append some inline styles to a webpage to effect layout. If my selector for the content scripts anchor returns something like
<div class="col-4-12 col-12-12">
...blah
<plasmo-csui />
</div>
<div class="col-4-12 col-12-12">
...blah
<plasmo-csui />
</div>
Is there a way I could achieve the following style attribute injection
<div class="col-4-12 col-12-12" style="display: grid; grid-template-columns: 1fr 2fr">
...blah
<plasmo-csui />
</div>
<div class="col-4-12 col-12-12" style="display: grid; grid-template-columns: 1fr 2fr">
...blah
<plasmo-csui />
</div>
1 replies
PD🧩 Plasmo Developers
Created by isibbot on 5/8/2024 in #🔰newbie
How to share service worker API response to many content scripts
No description
7 replies