Firefox extension and Native Messaging Application

Hi,

I am not able to work with native messaging api for the firefox extension. all my code is working fine in chrome browser while in firefox i am getting can not covert null to object error.

https://stackoverflow.com/questions/49489667/firefox-extension-with-native-messaging-application-not-working

link for the issue with code snippet.

please provide more information and details on native messaging application development for new comers.

Regards,

I’d recommend you ditch all that page/jquery/scripts/events stuff an create a minimal example that directly opens the native messaging port when it is loaded.

If you still get an error, format your code properly (or upload it e.g. to GitHub) an tell us where exactly you get the error (stack trace).