mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-05 15:46:50 +08:00

It helps to include the URL when requesting an unblock; otherwise there's an extra back-and-forth. https://github.com/cunnie/sslip.io/issues/101 Drive-by: reformatted using VS Code. It looks like a big change. It isn't.
36 lines
1.5 KiB
HTML
36 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Blocked Site!</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>This Site Has Been Blocked!</h1>
|
|
<p>We have identified the site you tried to visit, <span id="url"></span>, as either a scam site, a phishing site, or
|
|
unauthorized copy of an existing site.</p>
|
|
<p>If you own this site and feel that it's been wrongly identified, please do the following:</p>
|
|
<ul>
|
|
<li><strong>disable indexing of your site</strong>; disable indexing by either including the <code>X-Robots-Tag:
|
|
noindex</code> in your HTTP headers or include a <code>robots.txt</code> at the root of your website with the
|
|
following contents:<code><br>
|
|
User-agent: *<br>
|
|
Disallow: /</code></li>
|
|
<li>Open a <a href="https://github.com/cunnie/sslip.io/issues/new/choose">GitHub issue</a>, include your site URL
|
|
(<span id="url2"></span>), and explain why your site should be unblocked
|
|
</li>
|
|
</ul>
|
|
<p>We apologize in advance for accidentally blocking a legitimate site; we try our best.</p>
|
|
<script>
|
|
function displayURL() {
|
|
var urlSpan = document.getElementById('url');
|
|
var fullURL = window.location.href; // Gets the full URL
|
|
urlSpan.textContent = fullURL; // Sets the full URL as text content of the span
|
|
urlSpan = document.getElementById('url2');
|
|
urlSpan.textContent = fullURL; // Sets the full URL as text content of the span
|
|
}
|
|
window.onload = displayURL; // Calls the function when the page loads
|
|
</script>
|
|
</body>
|
|
|
|
</html> |