Skip to content

<noscript> 标签验证优化 #28

@xuexb

Description

@xuexb
  1. <noscript> 标签重复性未验证
  2. <noscript> 标签内部元素未验证

以下代码验证通过:

<!DOCTYPE html>
<html mip>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
        <link rel="stylesheet" type="text/css" href="https://c.mipcdn.com/static/v1/mip.css">
        <!--TODO: canonical href需要替换成原页面url-->
        <link rel="canonical" href="https://www.mipengine.org/test_xxx.html">
        <title>MIP页Demo效果</title>
        <!--noscript 用于JS禁用时页面加载-->
        <noscript>
            <style mip-officialrelease>
                body {
                    -webkit-animation: none;
                    -moz-animation: none;
                    -ms-animation: none;
                    animation: none
                }
            </style>
            <style>
                body {}
            </style>
        </noscript>
    </head>
    <body>
        <!--noscript 用于JS禁用时页面加载-->
        <noscript>
            <style mip-officialrelease>
                body {
                    -webkit-animation: none;
                    -moz-animation: none;
                    -ms-animation: none;
                    animation: none
                }
            </style>
            <style>
                body {}
            </style>
        </noscript>
        <!--mip 运行环境-->
        <script src="https://c.mipcdn.com/static/v1/mip.js"></script>
    </body>
</html>

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions