2013-07-20 30 views
2

我需要從我的Firefox擴展向我的C#應用​​程序發送一個字符串。我使用附加組件生成器(https://builder.addons.mozilla.org/addon/new)。從Firefox擴展到C#應用程序的通信

我可以得到一些HelloWorld嗎?

+0

你見過這等崗位? [從C#應用程序到Firefox擴展的通信](http://stackoverflow.com/questions/9561378/communication-from-c-sharp-application-to-firefox-extension?rq=1) –

+0

編譯器抱怨這一行: var fileStream = Components.classes ['@ mozilla.org/network/file-output-stream;1'].createInstance(Components.interfaces.nsIFileOutputStream); 「XPI not built」 – user1908410

+0

我仔細研究了一下,我認爲在其他鏈接中的方法是用於基於xul的擴展,而不是像您嘗試的addon-sdk。我認爲這個錯誤與此有關。我不確定如何在addon-sdk中做這種事情,對不起。 –

回答