Detect DOM modification in Internet Explorer
I am writing a Browser Helper Object for ie7, and I need to detect DOM modification (i.e. via AJAX). So far I couldn't find any feasible solution. ...
I am writing a Browser Helper Object for ie7, and I need to detect DOM modification (i.e. via AJAX). So far I couldn't find any feasible solution. ...
I have an Internet Explorer Browser Helper Object (BHO), written in c#, and in various places I open forms as modal dialogs. Sometimes this works but in some cases it doesn't. The case that I can replicate at present is where IE is running javascript to open other child windows... I guess it's getting a bit confused somewhere.... The p...
What are the best approaches / tools to test browser extensions? In my case I work on an IE Browser Helper Object (C#) which has a small UI of its own and a good deal of database interaction. Up till now we've used automated unit tests for testing our model/business objects but manual testing for the UI/scenario testing. I'm thinking of...
For a university project I programmed a Internet Explorer Browser Helper Object to process web document information while browsing. It were running successful on Windows XP with IE6 and IE7. Now I have the issue that under Windows Vista the same BHO needs administrator rights to run. Browser and BHO running if you start the IE as admin...
I am doing a BHO (extension for IE) that receives events on other thread. When I access the DOM from that other thread, IE crashes. Is it possible to make the DOM accessed from the same thread as the main BHO thread so that it does not crash? It seems like a general COM multithreading problem, which I don't understand much. ...
I'm trying to develop an Internet Explorer 7 addon using "Browser Helper Objects" (BHO). The goal is to have a standard IE toolbar with some buttons and one custom control. I would like to develop it in .NET I started from the baseline sample here. This works fine but... How to control where in the browser the toolbar will show? Curre...
I have a Browser Helper Object project in c# that (obviously) references shdocvw.dll. I think I want to create a strongly named interop dll for shdocvw.dll. How do I do this - I've seen a bunch of suggestions out there with aximp.exe and tlimp but I'm not clear how they fit together. ...
I would like to extract a bitmap from an html page. I expected to find a IStream, IPersistStream or IPersistStreamInit from the IHTMLImgElement I got in the web page. However I can't found any of those. I could read the picture from the cache but this is somewhat unreliable and I would like to avoid reading from the filesystem. Is ther...
I need to retrieve, in my program, a list of currently installed Internet Explorer add-ons (Browser Helper Objects), and if possible their enabled/disabled status. Since anti-spyware programs can get this list from somewhere, is there a simple way to request this list programatically? EDIT: Thanks to @Stefan, who pointed me to the righ...
Hi, I had created a BHO application with the help of http://www.codeproject.com/KB/cs/Attach_BHO_with_C_.aspx?fid=447248&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=51&select=2421069 If I Build the source code obtained in above article, the CPU usage is increased to 70-80% How can I reduce this? ...
I have the code for various versions of a software product I work on on my machine. The product includes one or more assemblies that are registered for com interop. How can I determine which one is currently registered? ...
I have an Internet Explorer BHO (in c# .net) and want to identify either when a user initiates a navigation, or when a user-initiated navigation has completed. By user-initiated i mean clicking on a link or similar action. In particular if there are multiple frames in the document being loaded I want to treat them as a single 'navigation...
I'm writing an add-on to bypass the printer confirmation dialog in C++. I can successfully intercept a print call, however when I try to print the document, the dialog still comes up. I'm catching the event in: STDMETHOD(Exec)(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdExecOpt, VARIANTARG *pvaIn, VARIANTARG *pvaOut) and sendi...
When using System.Windows.Forms.ShowDialog(IWin32Window) should I be able to pass in an IWin32Window representing any window handle and have it be modal with respect to that window? As part of an IE7 extension I'm trying to open a window modal with respect to an IE tab. It's not the currently selected tab, but I can get the hwnd of the ...
I have an IE BHO (a toolbar) written in C#/.NET 2.0 using COM Interop. I'm using Visual Studio 2005 to generate an MSI installer for my toolbar using the Setup Project. In my assembly, I have COM register/unregister methods using the ComRegisterFunctionAttribute, which set the registry keys that give IE some key information about my to...
I am developing a Browser Helper Object running inside Internet Explorer. I am writing debugging messages with ATLTRACE("..."); These appear fine when Visual Studio is attached to the iexplore.exe process, but this is slow for a quick test. DebugView captures nothing from my BHO. Why does DebugView not show BHO debug messages? Is it som...
I would like to access the Internet Explorer user settings for fonts, especially the font family, within a Browser Helper Object written in C#. I have looked into SHDocVw.WebBrowser and IHTMLDocument( to 5) but I don't see what I'm looking for or missing the property. The BHO is for Internet Explorer 7. Thank you very much! Edit: Ric...
I'm trying to use WTL within an in-process COM server DLL (an IE BHO), but am struggling with _Module. My DLL needs CMyModule derived from CAtlDllModuleT<>: class CMyModule : public CAtlDllModuleT< CMyModule > { public: DECLARE_LIBID(LIBID_MyLib) DECLARE_REGISTRY_APPID_RESOURCEID(IDR_MYPROJ, "{...}") }; CMyModule _Module; ext...
on DISPID_DOCUMENTCOMPLETE if I am attaching an onclick handler for a particular element in the DOM from a worker thread, then the event is not getting fired while clicking it, what might be the reason? this is working fine if I am attaching event handler from the main thread, but I want to do things asynchronously. I am using CoMarshal...
I have an IE BHO that's in development in C#. It is supposed to wait for the user to do some stuff, contact our server and download some data, and then alter the DOM of the currently loaded web page with the results. I am running into some seemingly insurmountable issues relating to the rules of COM compartmentalization and threading --...