Basically I want to develop a BHO that validates certain fields on a form and auto-places disposable e-mails in the appropriate fields (more for my own knowledge). So in the DOCUMENTCOMPLETE event I have this:
for(long i = 0; i < *len; i++)
{
VARIANT* name = new VARIANT();
name->vt = VT_I4;
name->intVal = i;
VARIANT* id ...
I´m writing a IE BHO using C++. I wait for the DOCUMENTCOMPLETE event. After that I remove some Elements from the DOM.
On small websites it works fine but on the larger ones - the website is visible for a few seconds waiting for a few elements and after that the documentComplete event fires - and remove the elements.
Is it posible to ap...
Can anyone tell my some books for learning Browser Helper Objects development in .Net/C#, beginner to advanced level?
Thanks
...
Hi all,
How to find the position of the HTMLElement in BHO(C#)?
I need both offset position of the element in the page and the client position of the element i.e. position of the element from the Left-Top of the client window.
Any help would be greatly appreciated.
Once again thanks a million.
-Datte
...
Hi all,
The getBoundingClientRect() does not work accurately for all cases. It fails when say a list of links that are side by side in a row and half of them are pushed to the next line because all the links cannot be fit into the same line. Now for the first link at the 2nd line the getBoundingClientRect() does not give correct results...
Hi all,
How do I create a floating DIV in a web page on load using BHO with C#.NET?
I just want to inject an HTML code snippet for DIV that will display "Hello World" on the page. The div should have absolute position styles.
-Datte
...
Inserting the floating div through BHO in C#.NET modifies the existing DOM for the web page. I do not want to modify the DOM. Is there a way in which i can dispaly a text without even touching DOM? Like a floating panel or something?
...
Hi all,
The BHO which works smoothly on IE7 32bit XP/Vista does not work for IE7 on 64bt XP/Vista. I suspect the problem is with registering the BHO assembly. Can anyone has a good solution to make the BHO work for 64bit platform?
Thanks,
Datte
...
I researched through all BHO related documentation, but I just can't figure how Google gets the translation toolbar right below the tabs in IE.
Any useful pointers how to achieve the same effect for my own toolbar?
...
I support a .NET IE Toolbar, for a population of users that have a variety of OS and IE versions, in a variety of remote locations. For a small number of these users, the toolbar installs properly, but never actually loads when they try to enable it in IE. We haven't been able to replicate this situation on our test pcs.
Most of our su...
I have a IE Browser Helper Object, which is a Toolbar addin for IE 8.
I have another .NET .EXE application (Remoting Client) that connects to this BHO (Remoting Server) using remoting via common Interface.
When I test the communication between the .EXE application and a TEMP Console application with the same code used in the Server compo...
I am writing a BHO, the code using IHTMLDocument2::get_scripts to get all script body in the
HTML file then use get_text() to get script source. But I found if script is embedded from a external file, the content is
an empty string.
Is there any way to get source code from an IHTMLScriptElement that is
created by ?
...
I'm busy writing a BHO(Browser Helper Object) in C# and I need to attach events handlers to all onclick events on Input Elements. I'm NOT using the built in webbrowser provided by visual studio, instead I am launching a new instance of the Internet Explorer installed on the clients PC. The problem comes in when using different versions o...
I am writing a BHO for IE using C#. The code I'm concerned with is this:
public class BHO : IObjectWithSite, IOleCommandTarget
{
...
public BHO()
{
MessageBox.Show("Constructor called");
}
public int SetSite(object site)
{
MessageBox.Show("SetSite called!");
if( site != null )
{
...
I am writing an IE Extension (BHO) in C#. When run in protected mode (IE's new UAC-compliant mode which forces all extensions to run at low-integrity), it fails because it cannot access user.config in the appdata folder.
Is there some way to mark files are readable by lower-integrity processes?
Failing that, is there some way to f...
Firefox has the Sandbox and evalInSandbox(). Chrome has sandboxed execution in their content scripts (they call it isolated execution). I'm looking for the same thing in an IE browser extension.
I can load a javascript file, then call evalScript(), but the code executes in the same environment as javascript that exists on the page. I ne...
I've got a Browser Helper Object written in C# that makes a HTTPWebRequest POST to my server when the user clicks a button on a windows form, and in the normal case this works great. However, every so often, I'll get a BHO that seems to go crazy and continually send me a huge number of HTTPWebRequests (around 50 to 100 per minute). The...
From within a browser extension (BHO) I want to know the URL that referred a user to the current page. I thought I could just get the document.referrer, but I find that's blank if links are opened in a new window. Is this just tough bikkies or can I use opener.location.href in some cases, or something else?
As a follow-up, I'm currently...
Is there any way to generate HTML source code from live DOM tree in IE?
The DOM may be modified by JavaScript, but I just want the final result.
If I want to write a BHO to do this, which event should I handle such thing?
...
Im writing a BHO for internet explorer where i need to call javascript methods on all open browser instances from a 'static' (or a 'global') callback method. I'm running into issues that i'm sure are related to multi-threading in COM. I had few general questions regarding this (i am new to windows programming!).
Every browser would hav...