Adds a info index file at /_h5ai.

This commit is contained in:
Lars Jung 2012-03-25 00:09:43 +01:00
parent c2e76dee24
commit 764bc0034c
5 changed files with 217 additions and 0 deletions

27
src/_h5ai/js/splash.js Normal file
View file

@ -0,0 +1,27 @@
// @include "inc/lib/jquery-1.7.1.min.js"
(function (window, $) {
'use strict';
/*jslint browser: true, confusion: true, white: true */
/*global jQuery */
var deobfuscate = function () {
$(".obfusma").each(function () {
var $this = $(this),
add = $this.text().replace(/\s*/g, "").replace(/\[at\]/gi, "@").replace(/\[dot\]/gi, "."),
$a = $("<a/>").attr("href", "mailto:" + add).text(add).addClass("deobfusma");
$this.replaceWith($a);
});
},
init = function () {
deobfuscate();
};
$(init);
}(window, jQuery));