Is there any way to communicate between my .exe application and Firefox?
Because I have my own web page. I use FireFox to view it.
I have an application (in C ++) for processing a snippet of HTML code from my web page in FireFox. My application can print something directly to a printer (raw print).
Since then, I have not been able to access the Firefox DOM file (HTML page source) from outside of firefox; In addition, I cannot directly print to a printer (raw print) from firefox.
Now I am looking for a solution to this problem. Here are my options:
1.) My web page I can copy my linked text to the clipboard.
2.) My web page I can write my associated text with a Firefox cookie.
3.) My web page I can write my associated text with a file from a client PC.
4.) Any other way to send my linked text to my .exe application.
But I do not know how I can do this: How to copy to the clipboard in firefox, How can I read the FireFox cookie from my .exe application, How to create a file on the client PC.
Is there a way to communicate between my .exe application (in C ++) and Firefox?
source
share