-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
240 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<!-- 必须存在 /^(https:)?\/\/((mipcache\\.bdstatic\\.com\/static\/mipmain)|(mipcache\\.bdstatic\\.com\/static\/v\\d\/)|(c\\.mipcdn\\.com\/static\/v\\d\/)|(c\\.mipcdn\\.com\/static\/mipmain))/ 下的 css --> | ||
<link rel="stylesheet" href="https://mipcache.bdstatic.com/static/v1/mip.css"> | ||
<!-- 必须存在带 rel=canonical 或 rel=miphtml 的 link --> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
<!-- 带 rel=canonical 或 rel=miphtml 的 link 的 href 可以是 https,http,//开头 --> | ||
<link rel="miphtml" href="//www.baidu.com"> | ||
<!-- 不带 rel=canonical 或 rel=miphtml 的 link 的 href 非 / 开头,可以是 // --> | ||
<link href="//www.baidu.com"> | ||
<link href="http://www.baidu.com"> | ||
<link href="https://www.baidu.com"> | ||
<script async src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
</head> | ||
|
||
<body> | ||
</body> | ||
|
||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<!-- 不存在 /^(https:)?\/\/((mipcache\\.bdstatic\\.com\/static\/mipmain)|(mipcache\\.bdstatic\\.com\/static\/v\\d\/)|(c\\.mipcdn\\.com\/static\/v\\d\/)|(c\\.mipcdn\\.com\/static\/mipmain))/ 下的 css --> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
<link rel="miphtml" href="//www.baidu.com"> | ||
<link rel="miphtml" href="//www.baidu.com"> | ||
<!-- 不带 rel=canonical 或 rel=miphtml 的 link 的 href 非 / 开头,可以是 // --> | ||
<link href="/www.baidu.com"> | ||
<script async src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
</head> | ||
|
||
<body> | ||
</body> | ||
|
||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" href="https://mipcache.bdstatic.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
<!-- head 中的 script 必须加 async --> | ||
<script async src="//mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
</head> | ||
|
||
<body> | ||
<!-- 如果 src 存在,type必须text/javascript 、application/javascript 或 type不存在(即没有type属性) --> | ||
<script src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
<script type="text/javascript" src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
<script type="application/javascript" src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
|
||
<!-- 如果 src 存在,必须是https或//开头 --> | ||
<script src="//mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
|
||
<!-- src不存在,type必须是application/json或application/ld+json --> | ||
<script type="application/json"></script> | ||
<script type="application/ld+json"></script> | ||
</body> | ||
|
||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" href="https://mipcache.bdstatic.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
<!-- head 中的 script 必须加 async --> | ||
<script src="//mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
</head> | ||
|
||
<body> | ||
<!-- 如果 src 存在,type必须text/javascript 、application/javascript 或 type不存在(即没有type属性) --> | ||
<script type="a/javascript" src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
|
||
<!-- src存在,type 不对 --> | ||
<script type="application/json" src="//mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
|
||
<!-- 如果 src 存在,必须是https或//开头 --> | ||
<script src="/mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
|
||
<!-- src必须是mip域名 --> | ||
<script src="//xx.com/static/v1/mip.js"></script> | ||
|
||
<!-- src不存在,type必须是application/json或application/ld+json --> | ||
<script type="application/jsona"></script> | ||
<script type="application/ldjson"></script> | ||
|
||
<!-- 不支持 ala 路径 --> | ||
<script src="//m.baidu.com/static/ala/sf/static/js/miphtml_main_91d6a5e.js"></script> | ||
|
||
<!-- 其他域名,不通过 --> | ||
<script src="xx/miphtml_main_91d6a5e.js"></script> | ||
</body> | ||
|
||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" href="https://mipcache.bdstatic.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
</head> | ||
|
||
<body> | ||
<mip-img src="a"> | ||
<mip-img srcset="a"> | ||
<mip-img src="a" srcset="a"> | ||
|
||
<script src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
</body> | ||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" href="https://mipcache.bdstatic.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
</head> | ||
|
||
<body> | ||
<mip-img> | ||
<mip-img src=""> | ||
<mip-img srcset=""> | ||
<mip-img srcset="" src=""> | ||
|
||
<script src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
</body> | ||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" href="https://mipcache.bdstatic.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
<base href="/"></base> | ||
</head> | ||
|
||
<body> | ||
<script src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
</body> | ||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" href="https://mipcache.bdstatic.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
<base href="/"></base> | ||
</head> | ||
|
||
<body> | ||
<base></base> | ||
<base target="a"></base> | ||
<base href="x"></base> | ||
<script src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> | ||
</body> | ||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" href="https://mipcache.bdstatic.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
</head> | ||
|
||
<body> | ||
<mip-video src=""> | ||
<source src=""></source> | ||
</mip-video> | ||
|
||
<mip-audio src=""> | ||
<sourc src=""></source> | ||
</mip-audio> | ||
|
||
<picture> | ||
<source src=""></source> | ||
</picture> | ||
|
||
<script src="//c.mipcdn.com/static/v1/mip.js"></script> | ||
</body> | ||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html mip="" lang="zh-CN"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>测试 link 标签</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" href="https://mipcache.bdstatic.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.baidu.com"> | ||
</head> | ||
|
||
<body> | ||
<div> | ||
<source src=""></source> | ||
<div> | ||
|
||
<source src=""></source> | ||
|
||
<picture> | ||
<source src="/a"></source> | ||
</picture> | ||
|
||
<script src="//c.mipcdn.com/static/v1/mip.js"></script> | ||
</body> | ||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters