Replies: 3 comments 1 reply
-
Can you provide a reproducible repository? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@louisgv I also had the same problem. Later, I will provide a reproducible repository. This Question appear only in dev model. When inject script the nested iframe in page. I guess it has something to do with HRM. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have the same problem. plasmo version: v0.55.0 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
I want inject a script to "main" world use content script like this:
It's works in normally domain, like
github.com
(Already add tomatch
in content-script and web_accessible_resources`)and my
afterContentScript.js
just following simple code:then I open github.com, can find
arr
in console.But it's weired when I use this injected code to
localhost:/*
or127.0.0.1:/*
, it report follow error:and my
afterContentScript.js
is processed in the following result:this processed code can runing at normlly domain like
github.com
, but cannot running atlocalhost
or127.0.0.1
.Wish your answer!
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
(OPTIONAL) Contact Details
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions