bho

Set focus on particular tab in IE and/or FireFox

南笙酒味 提交于 2019-12-01 00:03:16
I want to write an application that will monitor the content of all open tabs in IE / FireFox and trigger event once particular data is displayed in the tab. I would like to know if there is an API for IE/FF to set focus on particular TAB, so that once event is triggered I set focus on a relevant tab. Thanks in advance Unfortunately there is no specific API to activate tab or set focus to it. Bellow is an code how you can activate tab, but it is only IE specific! using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Accessibility; namespace

Microsoft.mshtml.dll redistribution issues [closed]

北城余情 提交于 2019-11-30 20:48:33
I have made a C# BHO which is using Microsoft.mshtml.dll internally. Now to package this BHO do i need to also distribute Microsoft.mshtml.dll. Is it fine to add this dll with my dlls? Any legal issue ? This BHO works fine on dev environment as the Microsoft.mshtml.dll is present in visual studio (C:\Windows\assembly\GAC\Microsoft.mshtml\7.0.3300.0__b03f5f7f11d50a3a\Microsoft.mshtml.dll) guess, which will not the case on each machine. Please suggest. It is an interop assembly, it doesn't contain any code. Just declarations, auto-generated from the COM type library. Redistributing is thus fine.

Set focus on particular tab in IE and/or FireFox

旧城冷巷雨未停 提交于 2019-11-30 19:24:46
问题 I want to write an application that will monitor the content of all open tabs in IE / FireFox and trigger event once particular data is displayed in the tab. I would like to know if there is an API for IE/FF to set focus on particular TAB, so that once event is triggered I set focus on a relevant tab. Thanks in advance 回答1: Unfortunately there is no specific API to activate tab or set focus to it. Bellow is an code how you can activate tab, but it is only IE specific! using System; using

IE BHO in EPM (Enhanced Protected Mode)

前提是你 提交于 2019-11-30 09:04:00
I'm trying to make my IE BHO work on Win8 (IE10 and IE11 preview) with EPM turned on. I've found a few articles about the subject from MS ( http://blogs.msdn.com/b/ieinternals/archive/2012/03/23/understanding-ie10-enhanced-protected-mode-network-security-addons-cookies-metro-desktop.aspx ) but they still don't provide actual examples on how to make this work. I have compiled my BHO in both 32 and 64 bit, added the category (CATID_AppContainerCompatible) as stated in the article but still I don't get any web browser events from IE. Can anybody point to a more detailed example on how to make

Microsoft.mshtml.dll redistribution issues [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 05:45:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I have made a C# BHO which is using Microsoft.mshtml.dll internally. Now to package this BHO do i need to also distribute Microsoft.mshtml.dll. Is it fine to add this dll with my dlls? Any legal issue ? This BHO works fine on dev environment as the Microsoft.mshtml.dll is present in visual studio (C:\Windows

IE Extention/Plugin/Addon javascript injection in iframe and document c#

大兔子大兔子 提交于 2019-11-29 13:04:14
I am facing issue with BHO in C# ,Javascript not inject in iframe . How to get access of <iframe> body using c++/ATL/COM? question is similar like but in this above using com. i want to use C#. I have created a IE extension/Plugin/Addon To inject my Custom JavaScript on page as well as on IFrame attache with the document So I created BHO in c# . in Document complete Event private void webBrowser_DocumentComplete(object pDisp, ref object URL) { // this is main docuemnt document = (HTMLDocument)webBrowser.Document; //-------------------------------------------------------------------------------

IE BHO in EPM (Enhanced Protected Mode)

倖福魔咒の 提交于 2019-11-29 12:47:59
问题 I'm trying to make my IE BHO work on Win8 (IE10 and IE11 preview) with EPM turned on. I've found a few articles about the subject from MS (http://blogs.msdn.com/b/ieinternals/archive/2012/03/23/understanding-ie10-enhanced-protected-mode-network-security-addons-cookies-metro-desktop.aspx) but they still don't provide actual examples on how to make this work. I have compiled my BHO in both 32 and 64 bit, added the category (CATID_AppContainerCompatible) as stated in the article but still I don

Is there a way to create a named pipe from an AppContainer BHO on IE11?

佐手、 提交于 2019-11-29 07:21:09
I'm trying to write a BHO for Internet Explorer 11 (Windows 8.1). My BHO implements the AppContainer sandbox, but I can't seem to create a Named Pipe, CreateNamedPipe fails with that message: Access is denied. Here's the code I'm using to create the named pipe (which I found on a russian website , last comment: LPCWSTR LOW_INTEGRITY_SDDL_SACL_W = L"S:(ML;;NW;;;LW)D:(A;;0x120083;;;WD)(A;;0x120083;;;AC)"; PSECURITY_DESCRIPTOR pSD = NULL; ConvertStringSecurityDescriptorToSecurityDescriptorW ( LOW_INTEGRITY_SDDL_SACL_W, SDDL_REVISION_1, &pSD, NULL ); if ( pSD != NULL) { SECURITY_ATTRIBUTES

How to debug C# BHO project in visual studio/internet explorer

£可爱£侵袭症+ 提交于 2019-11-29 04:52:55
I'm creating an IE extension in C# using visual studio 2010. How do I go about debugging the extension whilst running it in Internet Explorer? Project + Properties, Debug tab. Select "Start external program", set it to c:\program files\internet explorer\iexplore.exe. You probably want to set the "Command line arguments" to the path of an HTML file that exercises your BHO. Set a breakpoint on the code you want to debug. Internet Explorer will start running when you press F5. You'll see the breakpoint turning hollow, indicating that the breakpoint is not armed. As soon as IE loads your DLL,

Call BHO from Javascript function

懵懂的女人 提交于 2019-11-28 10:38:01
Greetings, I am new to MSDN/Windows programming/MFC/IE extension development environment. I am looking to port my Firefox and Chrome addon into an IE addon. I have been successful to a good extent in creating a BHO and have been able to inject my code into every IE window as noted here - http://msdn.microsoft.com/en-us/library/bb250489%28v=vs.85%29.aspx I am only stuck with the issue of being able to call the BHO function from javascript. Just need help in being able to call window.HelloWorld.StoreInfo() from javascript. Please see my code snippet below. My javascript recognizes window