Add Android support + now don't block the whole page if a sub-resource is served via CF

This commit is contained in:
libroot 2026-10-11 21:39:08 +00:00
commit b73bf5d4ca
7 changed files with 132 additions and 114 deletions

View file

@ -5,16 +5,27 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cloudflare page blocked</title>
<style>
:root {
color-scheme: light dark;
}
body {
font-family: Arial, sans-serif;
padding: 20px;
font-family: system-ui, Arial, sans-serif;
padding: 16px;
text-align: center;
max-width: 40em;
margin: 0 auto;
}
h1 {
color: red;
font-size: 1.4em;
}
pre {
white-space: pre-wrap;
overflow-wrap: anywhere;
text-align: left;
}
a {
color: blue;
color: #0060df;
text-decoration: none;
}
</style>
@ -22,18 +33,17 @@
<body>
<h1>This page has been blocked by the Cloudflare Blocker extension due to a Cloudflare header.</h1>
<p>
<div>
<strong>Blocked Header:</strong>
<pre id="header_info">Loading...</pre>
</p>
</div>
<p>
<div>
<strong>Blocked response URL:</strong>
<pre id="url">Loading...</pre>
</p>
</div>
<br>
<p>You can probably view the page on the <a href="https://web.archive.org" target="_blank">Wayback Machine</a>.</p>
<p>You can probably view the page on the <a id="wayback" href="https://web.archive.org" target="_blank" rel="noopener">Wayback Machine</a>.</p>
<script src="blocked.js"></script>
</body>