webext-core icon indicating copy to clipboard operation
webext-core copied to clipboard

External Messaging Support

Open CodeWithShreyans opened this issue 8 months ago • 2 comments

Are there plans to support external messaging support like between extensions and webpages currently done using window.chrome?.runtime.sendMessage and chrome.runtime.onMessageExternal.addListener?

CodeWithShreyans avatar Mar 23 '25 00:03 CodeWithShreyans

I didn't have a need for it, so I won't be implementing it. But you're welcome to open a PR.

I would expect it's almost a copy of this file: https://github.com/aklinker1/webext-core/blob/main/packages%2Fmessaging%2Fsrc%2Fextension.ts

aklinker1 avatar Apr 01 '25 05:04 aklinker1

I don't have too much web extension experience so if you could tell me what modifications this file needs I could try

CodeWithShreyans avatar Apr 01 '25 12:04 CodeWithShreyans