Saqlain
Saqlain
PD🧩 Plasmo Developers
Created by Saqlain on 6/22/2024 in #👟framework
Main World Content Script not working on localhost
Solved Was able to solve it by modifying the manifest in package json. Updated manifest :
"manifest": {
"host_permissions": [
"https://*/*",
"http://*/*"
]
}
"manifest": {
"host_permissions": [
"https://*/*",
"http://*/*"
]
}
Basically added http in host_permissions, it was https only by default.
4 replies
PD🧩 Plasmo Developers
Created by SEMESTER 5 MENIT TIDUR on 3/6/2024 in #👟framework
How to sendToBackground from main world
Ok, thanks for confirming 👍
11 replies
PD🧩 Plasmo Developers
Created by SEMESTER 5 MENIT TIDUR on 3/6/2024 in #👟framework
How to sendToBackground from main world
Are you using something similar or have you found a way to directly communicate between main world and bgsw?
11 replies
PD🧩 Plasmo Developers
Created by SEMESTER 5 MENIT TIDUR on 3/6/2024 in #👟framework
How to sendToBackground from main world
When my middle content script receives the response i use window.postMessage which sends the response to main world, so basically i have to use a content script in middle as a relayer of messages, to and from main and bg
11 replies
PD🧩 Plasmo Developers
Created by SEMESTER 5 MENIT TIDUR on 3/6/2024 in #👟framework
How to sendToBackground from main world
For me i am sending msg from main world using sendToBackgroundViaRelay, then i receive that message in content script which is not in main world, then i use sendToBackground which sends that message to background service from content script.
11 replies
PD🧩 Plasmo Developers
Created by SEMESTER 5 MENIT TIDUR on 3/6/2024 in #👟framework
How to sendToBackground from main world
Were you able to get it working?
11 replies
PD🧩 Plasmo Developers
Created by Valentin on 4/19/2024 in #👟framework
Error with messaging
Were you able to solve this?
3 replies