HTA and 'x-ua-compatible' meta tag

后端 未结 5 466
挽巷
挽巷 2020-12-06 08:30

Added to post Jun-19-2014

Thanks Bond. Since you had IE9, I appreciate your test. Hopefully if somebody out there has IE 10 they will test it, too. It does not mak

5条回答
  •  庸人自扰
    2020-12-06 08:49

    Looks like later versions of IE is not supporting HTA as mentioned in the other answers. One solution to your problem is: Make your HTA file navigable (HTA attribute navigable="yes") and do not specify any x-ua-compatible meta tags. In the HTA file navigate to another file which has the x-ua-compatible tag. The file you navigated will have the HTA priviliges:

    HTA File:

    
     
      
       
      
     
     
     
    
    

    htacontent.htm

    
    
      
      
    ...
    

提交回复
热议问题