Chrome extension to Firefox extension

I have developed a Chrome extension On Chrome everything works as I expect

I am now trying to migrate the extension to Firefox

I posted a question on StackOverflow, without having been answered
Is there someone who can help me?

Thanks in advance

The devtools page has a limited set of APIs available:

Thank you
I have seen the devtools api limitations for Mozilla

So what I did is not usable in Mozilla
Sad

I guess you need to relay the message through your background script. For example, using runtime.sendMessage() (if it works).