source code of /includes/footer.old
Last modified | |
Lines | 83 |
Parent directory Download CGIread sitemap Main page
<!-- INCLUDED FOOTER -->
<!--
Deactivated this experiment:
<script type="text/javascript">
// MUST begin with ^
const sitecheck = "^ht{2}ps?\u003a/{2}([-a-z0-9]+\\.)?os[k]og[9]7\\.c[o]m/.*";
const gohome_and_ping = "ht\u0074ps\u003a/\u002fos\u006bog\u00397.c\u006fm/?";
const webarchive_root = "^ht{2}ps?\u003a/{2}[w]eb\\.ar[c]hive\\.or[g]/we[b]/[^/]+/";
const gcache_root = "^ht{2}ps?\u003a/{2}w[e]b[c]ache\\.g[o]og[l]eusercon[t]ent.c[o]m/sea[r]ch\\?q=ca[c]he:[^:]+:";
const gtranslate_root = "^ht{2}ps?\u003a/{2}tran[s]late\\.g[o]og[l]eusercon[t]ent\\.c[o]m/tran[s]late_c\\?(.*)u=";
var x = document.URL.toLowerCase().replace("%3a%2f%2f", "://");
var webarchive = webarchive_root + sitecheck.slice(1);
var googlecache = gcache_root + sitecheck.slice(1);
var googletranslate = gtranslate_root + sitecheck.slice(1);
if ( !(
RegExp(sitecheck).test(x) ||
RegExp(webarchive).test(x) ||
RegExp(googlecache).test(x) ||
RegExp(googletranslate).test(x)
) )
{
var content = document.getElementById('content');
while (content.firstChild)
{
content.removeChild(content.firstChild);
}
/*
* Obfusctaion not needed here thanks to sites using separate URLs for
* mobile pages.
*/
alert("You are being redirected to my real site!");
window.location.href = gohome_and_ping + document.URL;
}
</script>
-->
<footer><div id="footer">
<hr class="textonly"/>
<p>
Copyright © Oskar Skog<br/>
Website content released under the <a
href="https://creativecommons.org/licenses/by/4.0/" rel="license"
>Creative Commons Attribution (CC-BY 4.0)</a> license
and all my software under the <span class="a"><a
href="__SITE__/pages/policy.html#license">FreeBSD license
(BSD 2-clause)</a>.</span>
<br/>
Images may be from other sites, I should have cited useful sources
somewhere on the page. Contact me if I haven't.
</p>
<p>
__OUT_T__ source last modified <time datetime="__MODIFIED__"
>__MODIFIED__</time>
(__OUT_T__ generated
<time datetime="__TIMESTAMP__">__TIMESTAMP__</time>)
</p>
<p id="contact">
You can contact me at:
<var>gmail.com(at)oskar.skog.finland</var> in pseudo-reverse or
<var>root@localhost</var> if you are a three-eyed fish.
</p>
<p><strong>
Warning: This site is <a
href="__SITE__/pages/policy.html#fail2ban">protected</a>
with fail2ban!
</strong></p>
<p> <a class="notprint" href="__SITE__/read/?path=/style2.css">
CSS Stylesheet
</a>
<a href="https://validator.w3.org/check/referrer" rel="nofollow"
target="_blank" class="notprin"><span
class="img">Valid HTML5</span
></a><br/>
<span class="a"><a href="/projects/#eternaltls">
My root certificate if you strangely happen to be looking for it.
</a></span>
</p>
</div></footer>
<!-- END OF INCLUDED FOOTER -->