How to insert a file using chrome.scripting? #715
Unanswered
MiniSuperDev
asked this question in
Q&A
Replies: 1 comment 2 replies
-
you would need to use one of the import scheme instead: https://docs.plasmo.com/framework/import#url Plasmo resolves file and bundle things into the eventual package. Because of that, any file path must be resolved prior to passing down to the native calls. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am migrating this example from google tutorial to Plasmo
https://github.com/GoogleChrome/chrome-extensions-samples/blob/b6a3ac55011d725ba32d7446f124fca693c50c3d/functional-samples/tutorial.focus-mode/background.js#L40-L43
But I got this
Beta Was this translation helpful? Give feedback.
All reactions