Last active
June 11, 2020 12:20
-
-
Save ozzi-/eccdc84cb352c6df628bbaef06b83e8c to your computer and use it in GitHub Desktop.
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
<html> | |
<!-- all tags that should match --> | |
<link href="www.external.com"> | |
<script type="text/javascript"> | |
xhr1.open("POST","http://external.com"); | |
xhr2.open("POST","www.external.com"); | |
xhr2.open("POST","www.external-co-ul.co.uk"); | |
xhr3.open("POST","//external.com"); | |
xhr4.open("POST","http://gist.githubusercontent.com/testlocal"); | |
</script> | |
<style> | |
@import 'fonts.googleapis.com/css?family=Advent+Pro:400,200,700'); | |
@import "www.fonts.googleapis.com/css?family=Advent+Pro:400,200,700"); | |
@import "https://www.fonts.googleapis.com/css?family=Advent+Pro:400,200,700"); | |
@import url("http://fonts.googleapis.com/css?family=Raleway+Dots"); | |
@import url('//weloveiconfonts.com/api/?family=entypo'); | |
@import url("weloveiconfonts.com/api/?family=entypo"); | |
html{ | |
} | |
</style> | |
<script src="https://something.com/external.js"></script> | |
<iframe src="http://iframe.com"></iframe> | |
<object data="www.something.com/pic.jpg" width="300" height="200"></object> | |
<img src="www.something.com/pic.jpg"> | |
<img src="www.something.co.uk/pic.jpg"> | |
<embed type="image/jpg" src="//something.com/pic.jpg" width="300" height="200"> | |
<audio controls> | |
<source src="https://something.com/horse.ogg" type="audio/ogg"> | |
<source src="http://something.com/some/horse.mp3" type="audio/mpeg"> | |
</audio> | |
<video width="320" height="240" controls> | |
<source src="//www.something.com/forrest_gump.mp4" type="video/mp4"> | |
<source src="//something.com/forrest_gump.ogg" type="video/ogg"> | |
<track src="https://www.something.com/fgsubtitles_en.vtt" kind="subtitles" srclang="en" label="English"> | |
<track src="https://www.something.com/fgsubtitles_no.vtt" kind="subtitles" srclang="no" label="Norwegian"> | |
</video> | |
<!-- things that should not match --> | |
<img src="/local.jpg"> | |
<img src="/folder/local.jpg"> | |
<img src="/imagelocal"> | |
<img src="../example/imagelocal"> | |
<img src="../../example/imagelocal.jpg"> | |
<img src="local.jpg"> | |
<iframe src="http://gist.githubusercontent.com/ozzi-/local1"></iframe> | |
<iframe src="https://gist.githubusercontent.com/test/local2"></iframe> | |
<iframe src="https://www.gist.githubusercontent.com/test/local3"></iframe> | |
<iframe src="https://www.subdomain.gist.githubusercontent.com/test/local3"></iframe> | |
<iframe src="www.gist.githubusercontent.com/test/local4"></iframe> | |
<iframe src="//gist.githubusercontent.com/test/local5"></iframe> | |
<iframe src="//sub.domain.sub.domain.gist.githubusercontent.com/test/local6"></iframe> | |
<iframe src="//githubusercontent.com/test/local7"></iframe> | |
<iframe src="//githubusercontent.com"></iframe> | |
<script type="text/javascript"> | |
xhr4.open("POST","http://gist.githubusercontent.com/testlocal"); | |
</script> | |
<style> | |
@import 'gist.githubusercontent.com/css?family=Advent+Pro:400,200,700'); | |
@import "www.gist.githubusercontent.com/css?family=Advent+Pro:400,200,700"); | |
@import "https://gist.githubusercontent.com/css?family=Advent+Pro:400,200,700"); | |
@import url("http://gist.githubusercontent.com/css?family=Raleway+Dots"); | |
@import url('//gist.githubusercontent.com/api/?family=entypo'); | |
@import url("gist.githubusercontent.com/api/?family=entypo"); | |
html{ | |
} | |
</style> | |
<!-- external CSS --> | |
<link rel="stylesheet" type="text/css" href="https://gist.githubusercontent.com/ozzi-/cf211d7f5fa1dd2755aed197d7497a69/raw/6191d510c576f9bce4ee74f0bd0ba69a38948d76/example.css"> | |
<script src="https://gist.githubusercontent.com/ozzi-/fe6ef5f83076f2435dda61d64e055d90/raw/55983563834e2af8cece98612626dc680203d9a9/example.js"></script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment