communication between src to content script BEX
-
Hey everyone
I am new Developer switch struggling with BEX bridge
i create me all app i didn’t figure out how i can simply active my content script from my pop by q-btn click?
and second i dont understand is how i can send the data from the Content script once the processing donei am not native speaker if someone is struggling with me EN
thank you all -
Did you see this series of articles? If not, maybe they will help you.
https://dev.to/quasar/quasar-and-browser-extension-development-getting-bexy-part-1-39bl
Scott
-
@s-molinari Hey molinari thank you for respond
i have seen this article and even copied his code and try it for few hours
but still didnt work and they also do different thing than i need, also used keywords which i cant find on quasar api (which i also read twice)i know the way it works and the action i need to do but i didnt work for me
-
Can you make a codesandbox with the code you have? https://codesandbox.quasar.dev
Scott
-
A diagram of the flow you want would be good. When you want to communicate from and to etc.
-
Hey Scott and Allan
as you asked i uploaded a new project which i just make
i will left some notes
https://github.com/asafyeshoa/bridgetest -
@s-molinari i read your article and had to make some changes on toggleToolbar function and also in content-hooks to make it working. in content-hooks you used ( element.querySelector(’.r a h3’).innerText, ) when i inspect i found .r not valid which became “yuRUbf” so i changed it to element.querySelector(’.yuRUbf a h3’).innerText, and then its worked. you may check and update . thanks