如何使用Internet Explorer API
问题描述:
我想从浏览器中阻止某些URL,即当我键入一些URL并单击Enter时,它应该检查数据库并阻止该URL已经存在.为此我该怎么办? />
是否有任何Internet Explorer API,该API中是否有任何方法/函数可以阻止url's
任何有想法的人都可以答复我.
HI i want to block some URL''s from the browser,i.e when i type some URL and click enter then it should check with the database and block if the URL already exist.for this how can i do?
Is there any internet explorer API,is there any method/function in that API to block url''s
Any one have idea reply me.
答
没有API.除非您创建自己的浏览器应用程序并处理导航事件,否则您将无法拦截任何请求.您可以尝试BHO,在两分钟内如何使用C#附加到浏览器帮助对象(BHO) [ ^ ]
There is no API. Unless you create your own browser application and handle the navigation events you won''t be able to intercept any requests. You could possible try a BHO, How to attach to Browser Helper Object (BHO) with C# in two minutes[^]