mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 13:34:30 -04:00
Adds a info index file at /_h5ai.
This commit is contained in:
parent
c2e76dee24
commit
764bc0034c
5 changed files with 217 additions and 0 deletions
27
src/_h5ai/js/splash.js
Normal file
27
src/_h5ai/js/splash.js
Normal 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));
|
Loading…
Add table
Add a link
Reference in a new issue