PlasmoHQ / plasmo

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

[BUG] Offscreen page #885

Open iomjympq99190 opened 7 months ago

iomjympq99190 commented 7 months ago

What happened?

Offscreen page How to use react to write a page? I need to parse the dom in the offscreen page, but I don’t know how to create an offscreen in plasmo.

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

iomjympq99190 commented 7 months ago

Create Tab Pages to serve as Offscreen pages

//background let OFFSCREEN_DOCUMENT_PATH =chrome-extension://${chrome.runtime.id}/tabs/offscreen.html

JLWebDeV23 commented 4 days ago

@iomjympq99190 I'm facing the same issue, have you found any workaround with this?