How to create plugins/addons for firefox, IE and chrome

泄露秘密 提交于 2019-12-01 10:46:49

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/3264816/how-to-create-plugins-addons-for-firefox-ie-and-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!