edge企业模式站点列表格式

yaotome 1 Reputation point
2021-11-24T05:31:13.67+00:00

使用“使用企业模式 IE 网站列表”策略进行配置
IE 模式可使用为 Internet Explorer 配置 Enterprise Site List 的现有策略,这样你就能创建和维护一个列表了。

创建或重用 Site List XML
所有具有 <open-in>IE11</open-in> 元素的站点现在都将在 IE 模式下打开。
打开组策略编辑器。
单击用户配置/计算机配置 > 管理模板 > Windows 组件 > Internet Explorer。
双击使用企业模式 IE 网站列表。
选中已启用。
在选项下,键入网站列表的位置。 可以使用以下位置之一:
(推荐)HTTPS 位置:https****://iemode/sites.xml****
本地网络文件:\network\shares\sites.xml
本地文件:file:///c:/Users/<user>/Documents/sites.xml
单击确定或应用以保存这些设置。

这个xml文件的格式是什么?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,146 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XuDong Peng-MSFT 10,101 Reputation points Microsoft Vendor
    2021-11-25T02:51:43.26+00:00

    Hi @yaotome ,

    Currently, this forum only supports discussions in English. Could you edit the question in English format?

    Secondly, according to your question. The xml file you mentioned has two versions, v1 and v2. They both supported on Windows 7, Windows 8.1, and Windows 10.

    v1 format:
    <rules version="205">   
        <emie>   
            <domain>contoso.com</domain>   
        </emie>   
    </rules>  
    
    v2 format:
    <site-list version="205">  
        <site url="contoso.com">  
            <compat-mode>IE8Enterprise</compat-mode>  
            <open-in>IE11</open-in>  
        </site>  
    </site-list>  
    
    What not to include in your schema
    • Don’t use protocols. For example, http://, https://, or custom protocols. They break parsing.
    • Don’t use wildcards.
    • Don’t use query strings, ampersands break parsing.

    I recommend you to use v2 version instead of v1, because you can have the benefits of the new v.2 version schema updates and new features. For more details about different vesions of the Enterprise Mode Site List configuration, please refer these two doc below:

    1. Enterprise Mode schema v.1 example
    2. Enterprise Mode v.2 schema example

    Best regards,
    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.