如何使用C#和JavaScript为Firefox创建加载项? [英] How to create Add-on for Firefox using C# and JavaScript?

查看:73
本文介绍了如何使用C#和JavaScript为Firefox创建加载项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要为Firefox创建一个附加组件



我尝试了以下方法并且它工作正常



1.使用XUL运行器

2.在Mozilla Firefox中拖放.XPI文件。(使用XUL,HTML,CSS和JavaScript)。



谁能告诉我如何使用C#和JavaScript为Firefox创建附加组件?



谢谢!

Hi,
I need to create a Add-on for Firefox

I have tried the following methods and it is working fine

1. Using XUL runner
2. Drag and Dropping the .XPI file in the Mozilla Firefox.(using XUL, HTML,CSS and JavaScript).

Can anyone tell me How to create an Add-on for Firefox using C# and JavaScript?

Thanks!

推荐答案

据我所知,Firefox附加开发的API不包括.NET绑定。根据我的理解,使用.NET对于Mozilla来说并不典型。也许没有人知道它是否可以在以后发生。



-SA
To best of my knowledge, the API for Firefox add-on development does not include .NET bindings. In my understanding, using .NET is not typical for Mozilla. And probably nobody knows if it can happen later or not.

—SA


你可以截至目前,不使用C#(Dot Net Managed Code)创建Firefox扩展。您可以使用XML,Javascript和CSS轻松创建它。



我建议您阅读本教程。

https://developer.mozilla.org/en-US/docs/Extensions [ ^ ]
You can not create Extension for Firefox using C# (Dot Net Managed Code) as of now. You can easily create it with XML,Javascript and CSS.

I would recommend you to go through this tutorial.
https://developer.mozilla.org/en-US/docs/Extensions[^]


这篇关于如何使用C#和JavaScript为Firefox创建加载项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆