如何为Firefox,IE和Chrome创建插件/插件 [英] How to create plugins/addons for firefox, IE and chrome

查看:168
本文介绍了如何为Firefox,IE和Chrome创建插件/插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为IE,firefox和chrome浏览器创建插件/插件,以满足以下要求:

如果请求的URL是以特定的格式/匹配特定的正则表达式模式,插件必须阻止请求,并弹出和提示框。

我搜查了很多,但没有发现任何有用的。对于IE,我认为我们可以为此创建BHO。但有没有办法实现这个使用JavaScript?



在此先感谢。



问候,
Maggi

解决方案

不幸的是,与Firefox和Chrome相比,IE的插件开发仍然非常神秘, 。您必须为IE开发BHO,而Firefox和Chrome都使用JavaScript作为其插件平台。

com / ie / dev.asprel =nofollow noreferrer> http://www.enhanceie.com/ie/dev.asp 是关于如何开发IE扩展的更多信息的一个很好的起点。

I need to create plug-ins/add-ons for IE, firefox and chrome browsers for the following requirement:

If the url requested is in a particular format/ matching a particular regex pattern, the plugin has to block the request and pop up and alert box.

I have searched a lot but did not find anything helpful. For IE, I think we can create BHO for this purpose. But is there a way to achieve this using javascript?

Thanks in advance.

Regards, Maggi

解决方案

Unfortunately, IE's addon development is still very arcane compared to Firefox and Chrome for the behavior you're trying to accomplish. You'll have to develop a BHO for IE whereas both Firefox and Chrome use Javascript as their addon platform.

http://www.enhanceie.com/ie/dev.asp is a great starting place for more information on how to develop extensions for IE.

这篇关于如何为Firefox,IE和Chrome创建插件/插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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