зеркало из https://github.com/mozilla/itisatrap.git
Bug 1216727 - Create a http://itisatrap.org/firefox/its-forbidden.html test page
This is a test page for the family-friendly browsing feature in Fennec.
This commit is contained in:
Родитель
96d07c57a5
Коммит
3d2c13177f
|
@ -1,3 +1,4 @@
|
|||
#forbidden,
|
||||
#unwanted,
|
||||
#its-a-tracker,
|
||||
#its-a-trap,
|
||||
|
@ -5,6 +6,7 @@
|
|||
background: #fff;
|
||||
}
|
||||
|
||||
#forbidden #main-feature,
|
||||
#unwanted #main-feature,
|
||||
#its-a-tracker #main-feature,
|
||||
#its-a-trap #main-feature,
|
||||
|
@ -15,15 +17,18 @@
|
|||
width: 430px;
|
||||
}
|
||||
|
||||
* html #forbidden #main-feature,
|
||||
* html #unwanted #main-feature,
|
||||
* html #its-a-trap #main-feature,
|
||||
* html #its-an-attack #main-feature { height: 265px; /* Hack for IE6 */ }
|
||||
|
||||
#forbidden #main-feature h2 { font-size: 460%; }
|
||||
#unwanted #main-feature h2 { font-size: 460%; }
|
||||
#its-a-tracker #main-feature h2 { font-size: 520%; }
|
||||
#its-a-trap #main-feature h2 { font-size: 520%; }
|
||||
#its-an-attack #main-feature h2 { font-size: 420%; }
|
||||
|
||||
#forbidden #wrapper,
|
||||
#unwanted #wrapper,
|
||||
#its-a-tracker #wrapper,
|
||||
#its-a-trap #wrapper,
|
||||
|
@ -31,6 +36,7 @@
|
|||
background: url(/img/background.jpg) no-repeat scroll top center;
|
||||
}
|
||||
|
||||
#forbidden #main-content,
|
||||
#unwanted #main-content,
|
||||
#its-a-tracker #main-content,
|
||||
#its-a-trap #main-content,
|
||||
|
@ -41,6 +47,7 @@
|
|||
display: inline;
|
||||
}
|
||||
|
||||
#forbidden #download,
|
||||
#unwanted #download,
|
||||
#its-a-tracker #download,
|
||||
#its-a-trap #download,
|
||||
|
@ -49,6 +56,7 @@
|
|||
display: inline;
|
||||
}
|
||||
|
||||
#forbidden #download ul.home-download,
|
||||
#unwanted #download ul.home-download,
|
||||
#its-a-tracker #download ul.home-download,
|
||||
#its-a-trap #download ul.home-download,
|
||||
|
@ -60,6 +68,7 @@
|
|||
list-style: inside;
|
||||
}
|
||||
|
||||
#forbidden #main-content h5,
|
||||
#unwanted #main-content h5,
|
||||
#its-a-tracker #main-content h5,
|
||||
#its-a-trap #main-content h5,
|
||||
|
|
|
@ -0,0 +1,83 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<title>Forbidden!</title>
|
||||
<link href="/css/min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/css/its-a-trap.css" media="screen" />
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-35433268-54', 'itsatrap.org');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body id="forbidden" class="portal-page locale-en-US portal-page">
|
||||
|
||||
<div id="wrapper">
|
||||
|
||||
<div id="doc">
|
||||
|
||||
<div id="nav-access">
|
||||
<a href="#nav-main">skip to Navigation</a>
|
||||
<a href="#switch">switch language</a>
|
||||
</div>
|
||||
|
||||
<!-- start #header -->
|
||||
<div id="header">
|
||||
<div>
|
||||
<h1><a href="http://www.mozilla.org/firefox/" title="Back to home page">Mozilla Firefox</a></h1>
|
||||
<a href="http://www.mozilla.org/" class="mozilla">visit <span>mozilla</span></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- end #header -->
|
||||
|
||||
|
||||
<div id="main-feature">
|
||||
<h2>Forbidden!</h2>
|
||||
<p>I'm a naughty Web page that Firefox doesn't want you to see!</p>
|
||||
</div>
|
||||
|
||||
<div id="main-content">
|
||||
|
||||
<p>OK, not really, but Firefox can be configured to block certain sites. If that feature is enabled in your browser and you are using Firefox 45 or later, you should have seen an error message instead of this page.</p>
|
||||
|
||||
</div> <!-- end #main-content -->
|
||||
|
||||
<div id="download">
|
||||
<ul class="home-download">
|
||||
<li>
|
||||
<a class="download-link download-firefox" href="http://www.mozilla.org/firefox/"><span class="download-content">
|
||||
<span class="download-title">Firefox</span>
|
||||
Free Download
|
||||
</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
</div><!-- end #doc -->
|
||||
</div><!-- end #wrapper -->
|
||||
|
||||
<!-- start #footer -->
|
||||
<div id="footer">
|
||||
<div id="footer-contents">
|
||||
<div id="copyright">
|
||||
<p id="footer-links"><a href="http://www.mozilla.org/en-US/privacy-policy.html">Privacy Policy</a> |
|
||||
<a href="http://www.mozilla.org/en-US/about/legal.html">Legal Notices</a> |
|
||||
<a href="http://www.mozilla.org/en-US/legal/fraud-report/index.html">Report Trademark Abuse</a></p>
|
||||
<p>Except where otherwise <a href="http://www.mozilla.org/en-US/about/legal/">noted</a>, content on this site is licensed under the <br /><a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution Share-Alike License v3.0</a> or any later version.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end #footer -->
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче