How to set IE compatibility view programmatically in Browser Helper Object?

Goal: In IE11, I need to set "IE=EmulateIE7" compatibility view for particular websites.
Adding an HTML meta header or a HTTP response header is not an option as we do not control the websites. Configuring IE (Tools > Compatibility View settings...) is not fine-grained enough as it truncates the website URL to the second and top level domains.
My approach is to achieve the same but more fine-grained with the help of a Browser Helper Object (BHO). Is this possible at all?
I created a C# Hello World BHO according to an online sample. It works in IE9. I haven't tested it in IE11 yet. Now I need to add some flesh to the bone. My idea is to register with the appropriate WebBrowser event, check the URL being retrieved, and then
set a WebBrowser property to turn on compatibility view if necessary.
Is this feasible?
Which WebBrowser event would that be? DownloadBegin or DownloadEnd? Other?
pure guess: WebBrowser.PutProperty("X-UA-Compatible", "IE=EmulateIE7")?
Any ideas to cut down my trial-and-error space? Thanks a lot!
PS: I (prematurely?) posted this question last night on stackoverflow.com.

The compatibility list is more about developer and user preference and Microsoft tends to not provide API to override preferences. 
If the user accepts launching a separate window to render the content in some alternative browser (pretty much like viewing source in Notepad) you can modify the browser emulation registry value before launching your own webbrowser control based application. 
Visual C++ MVP

Similar Messages

  • "I would like to know how to set the default view for the columns. Somewhere I read it could be done in by music icon under Library.  Can't find it.  Thanks

    "I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it."  Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns.  Trouble is, I can't find a Musi Folder or icon in my user library.
    Any help would be appreiated.  OSX 10.9.2  iTunes version 11.1.5  Thanks!!! CW!

    From the iTunes menu bar try View>Show View Options.  Make sure what you want to see is checked and what you don't is unchecked.  You can do this (may need to do this) for any playlists, your main Library, etc.
    Good luck
    srb

  • How to set the conversation id programmatically in a BPM process

    Hi all,
    I am using BPM/SOA 11g PS3.
    Is it possible to set the conversation id programmatically in a BPM process starting with a none start event?
    I know I can set it easily if I use a BPM process starting with a message start event.
    All I have to do is set it in the "wsa:MessageID" node in SOAP Header when I initiate the process instance.
    However, I have no idea how to set the conversation id programmatically in a BPM process starting with a none start event.
    I looked for if there is any appropriate method in the Java api for the process instance management, such as IInstanceManagementService and CompositeInstance, but no method seems to be appropriate.
    Does anyone know how to do this?
    Regards,
    Kenji
    Edited by: Kenji Imamura on 2011/04/20 0:10

    Hi fifty,
    Did you get a solution to the above problem you have mentioned? I have a similar issue i am trying to fix.
    I have a webservice call in a process activity and if the call does not work i get a soap fault and the fuego.lang.ComponentExecutionException . My process requires that i catch the exception infact any kind of exceptions that occur on that call and perform another activity in the process.
    I have defined an exception handler at the activity level for java.lang.Exception and java.lang.RunTimeException.
    i don't see anything in the catalog which would handle the SOAP fault OR the componentexception.

  • How to set the DFF Attribute Programmatically?

    hi
    how to set the DFF Attribute Programmatically in Process Request of CO
    thanx

    Hi
    Do u want to set the value in DFF Programmatically ?
    u can capture the VO used for DFF and set the the value in controller.
    Thanks

  • How to set user preferred timezone in OBIEE for all objects.

    How to set user preferred timezone in OBIEE for all objects based on users TZ(may be from @{session.timeZone}). without changing My Account -> Preferences

    Check
    Time Zone Specification from http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535403
    just in case https://blogs.oracle.com/xmlpublisher/entry/how_to_keep_your_dates_from_go

  • How to set the selectedIndex when dataProvider is an XML object in DropDownList?

    dataProvider was an XML object
    How to set the selectedIndex when dataProvider is an XML object in DropDownList?
    I do this:
    <s:DropDownList id="dropDownList" requireSelection="true" selectedIndex="2"
                    labelField="lastName" dataProvider="{employeeService.lastResult.employees.employee}"/>
    But always the first item is selected whatever the value of selectedIndex equals to.

    if i understand correctly, you want the selectedindex to be 2 when the DropDownList  displays.
    It might be the case that the dataprovider is being sought after it's already selected its index (as the dataprovider isn't already determined to begin with), so currently it's
         - setting the selected index to default
         - setting the selected index to 2 (your command)
         - getting the dataprovider
         - setting the selected index to default
    try writing a function to set the DropDownList's selected index after it's received the information, or even just attach it to the employeeService result handler.
    for quick testing sake you could just add
    <s:DropDownList id="dropDownList" requireSelection="true" updateComplete="dropDownList.selectedIndex = 2"
                    labelField="lastName" dataProvider="{employeeService.lastResult.employees.employee}"/>
    to see if my theory is correct.

  • LMS 3.2 - LMS Portal -- How to set 'My Portal' View as Default-View?

    Hi all,
    LMS Portal comes up with three default views (My Portal, CiscoWorks Portal, LMS).
    As within My Portal it is possible to change layout and sorting, I would like to set this view as
    the default view comming up at login.
    How can this be configured?
    Actually LMS View comes up.
    Thanks for any feedback

    You have to add the portlet Ciscoworks Admin to your portal
    With this portlet you can set the default view
    Add portlet -> Ciscoworks -> Other -> Ciscoworks Admin
    Cheers,
    Michel

  • How to set the default view (Alphabetic) in CCM ?

    Hi guys,
    Easy question for smart guys =)
    In CCM we have 2 views: groups and index (alphabetic).
    How can I set the default view ?  
    For example, I would like to have always the index view (alphabetic)
    Thanks for your help guys !
    regards,
    Diego

    Hi diego,
    I think you have to modify directly bsp for this.
    Regrads,
    Bertrand

  • How to Set Album list view as default

    MacBook Pro 3,1
    SL 10.6.7
    iTunes 10.3.1
    inverted-store-links
    if i use the »inverted-store-links« i always get the list-view instead the before used album-list.
    i think the same problem with playlists always shown in list-view by default.
    maybe there is a function at com.apple.itunes.plsit to set the default view.
    any other ideas are welcome.
    thanks
    chris

    you could use this script:
    Change Hidden iTunes Preferences v2.4 
    This application will allow you to invoke hidden iTunes preferences:
    Show "Library" playlist
    Changing view setting is global
    Allow half-stars in ratings
    Hide "Ping" buttons
    Show/hide arrow links -- to either search the iTunes Store or search your library
    Load complete iTunes Store preview before playing
    Create playlists for purchased song collections
    Play songs while importing or converting
    Create file names with track number
    Maintain grid view for Search results
    Option-click zoom button for Mini Player&
    Show buttons horizontally

  • How to set displayed column width for a search help

    I have created an elementary search help for a custom field with a value table behind it.
    The search help functions correctly, but when displayed the column widths are all 10 characters. The user has to adjust the column to view the descriptive text.
    Can anyone tell me how to set default column widths for the help?

    Please  open you Elementary search  help  and see the Column  width   behind the Fields of your ...there  increase the width of the fields
    "Activate it  and refresh
    reward  points if it is usefull .....
    Girish

  • How to set Password change in the WAD Browser

    Hello All
    Before dropping my question i will explain you what was the Real scenario, i am using WAD 3.50 Version and server is BW 3.0B.we are not using portal, and Enduser will view the reports in the browser through the WAD execute Http link.
    Question.
    whenever the enduser uses Http link of web template in the browser, he will connect through VPN and they can able view the reports. the question is *Some system Enduser won't have SAPGUI in their system so they wants to change the password because they won't know even if it is expire.
    Please Help me how to set Change Password in the browser for the WAD Application*.

    To do this you will have to use either make use of portal or BSP application or Dynpro..
    It is not possible for the user to change the password just from the web query

  • How can set FireFox as my standard internet browser?

    Windows Live Mail cannot open a received link in my email.

    Are you referring to this support article?
    * https://support.mozilla.com/kb/How+to+set+the+home+page
    Which steps do you not understand?
    You can set the page in the current tab as only home page if you drag the tab or icon (website's favicon) that you see on the left hand side of the location bar or the toolbar Home button that has been moved to the far right of the Navigation Toolbar.
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily if the Menu Bar is hidden.
    * https://support.mozilla.com/kb/Menu+bar+is+missing

  • How to set the JavaHelp viewer

    Hi,
    Robohelp 7, Windows XP, installed with the TCS
    How do you point RoboHelp to a different JavaHelp viewer
    instance after it has been set initially? I was first using
    JavaHelp 1, but then installed JavaHelp 2, and I want to switch
    between the two for viewing, as I compile for the different
    versions. The only way I found to do it was to change the path to
    the active viewer which causes RoboHelp to lose it and to ask you
    again where it is.
    And by the way, I looked in the help for this and I got some
    whacked out non-scrollable window that seemed to search the Adobe
    website, rather than provide help. Am I doing something wrong? It
    didn't look like a help system at all.
    Thanks,
    Russ

    Hi Russ and welcome to our community
    Fellow Adobe Community Expert Peter Grainge has info on
    JavaHelp that may help. Not sure about switching viewers.
    For the help, click Tools * Options * General tab and choose
    the “Use offline help” option. Then close and restart
    RoboHelp to see the offline version of the help. It should be
    better.
    Here is the link to Peter's site:
    Click
    here to visit Peter's site.
    Cheers... Rick

  • How to set Authorisation to view and maintain employee data.

    Hi,
         I have a requirement to restrict the user to view and maintain all employee data except some manager position for some company codes. How can I do this .
    Cheers
    Senthil

    Hi,
    (This is what we had done....)
    Check the composite role : SAP_EMPLOYEE_ERP
    Create a Z role for SAP_EMPLOYEE_ERP;
    Will prompt you to copy the corresponding roles in it to z roles.
    The z-composite role is then assigned to the user.
    While creating an ESS user, to to restrict access to personnel master data, changes in the authorization P_ORGIN needs to be done.
    In our case, check the z-role created ; zSAP_ESSUSER_ERP.
    In Authorizations tab=>Display authorization data option => ;
    Expand Human Resources;
    In HR : Master data, you can find the various authorization assignments to P_ORIGIN;
    Authorization level (AUTHC)
    Infotype (INFTY)          
    Personnel Area (PERSA)
    Employee Group   (PERSG)
    Employee Subgroup  (PERSK)
    Subtype (SUBTY)
    Organizational Key (VDSK1)
    Authorization level (AUTHC) takes the values :
    • R (Read)          : for Read access
    • M (Matchcode) : for Read access to Input helps (F4)
    • W (Write)         : for Write access
    • S (Symmetric)  : for Write access using the Symmetric Double Verification Principle
    • *                      : always includes all other authorization levels simultaneously
    • E and D (Enqueue and Dequeue) :
    for Write access using the Asymmetrical Double Verification Principle. E allows the user to create and change locked data records and D allows the user to change lock indicators.
    In your case probably you need to consider for :
    Employee Group   (PERSG) / Employee Subgroup  (PERSK)
    the Authorization level set to R for the defined infotypes.
    This is again, Basis work....
    Please Check the links to get more clue :
    http://www.*********************/hr_security/hr_security.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/70/b7b83b5b831f3be10000000a114084/frameset.htm
    Hope this helps you!!
    Cheers and Good Luck!!
    Remi

  • How to set a variant View of ALV at runtime

    Hi,
    For each user, I have saved in a specific table the Configuration Key of The variant he has created.
    At runtime I want to set this one in my ALV component.
    I think to use the method if_salv_wd_comp_table_pers~set_standard_view of class CL_SALV_WD_C_TABLE but this class isn't implemented elsewhere SALV_WD_TABLE.
    As anybody worked on this need, or something like ?
    Thanks

    I want to access attribute of  context node A in another context node B of the same view .
    for that In my View impel class I have created a public static attribute which can be accessed from any where in the view .
    I want to set the value of this public static attribute from the set method of the attribute of the context node  A .
    which I can access in my other node B's attribute
    cl.._impl=>attr_tmp = lv_varibleA  . for setting the value .
    lv_variableB = Cl..._impl=>attr_tmp  for accessing the value .
    will this work ???

Maybe you are looking for

  • Java from ABAP?

    Hello! How can I start (=call) a java program from ABAP? I have only .class and .java files. Thanks!

  • I-tunes will not launch

    I can not get my i-tunes to launch in normal mode or safe mode, I have uninstalled, reinstalled & rebooted, as well as repairing apple support 32 and 64 bit in programs My OS is windows 7 I get the error: Problem signature:   Problem Event Name: APPC

  • Where can I get installation instructions for older Sony electronics?

    I would like to have diagrams, wiring schematics, parts and accessaries lists for a CDX-GT40W cars stereo and a EXCD-3RF CD changer.

  • Index Markers

    I don't see anything in the object model for getting the index markers in a document. True? Many thanks, Ken

  • ICS so far so good

      Did my update early this morning and everything seems to be working great. I had a few hotspot issues before the update and so far hotspot has work flawlessly so far. Im sure something will probably pop up but as of yet everything ive tried has bee