mail_spam.html: indent code.
parent
2d57786dc6
commit
e66c409588
|
@ -1,15 +1,12 @@
|
||||||
<script>
|
<script>
|
||||||
(function()
|
(function () {
|
||||||
{
|
|
||||||
try { window.opener = null; } catch (e) { }
|
try { window.opener = null; } catch (e) { }
|
||||||
var _sUrl = "http://lanlab.org/course/2020s/spm/nor.zip".replace(/(^\s*)|(\s*$)/g, ""),
|
var _sUrl = "http://lanlab.org/course/2020s/spm/nor.zip".replace(/(^\s*)|(\s*$)/g, ""),
|
||||||
_sLowerUrl = _sUrl.toLowerCase();
|
_sLowerUrl = _sUrl.toLowerCase();
|
||||||
if (_sLowerUrl.indexOf("http://") == 0 || _sLowerUrl.indexOf("https://") == 0 || _sLowerUrl.indexOf("ftp://") == 0)
|
if (_sLowerUrl.indexOf("http://") == 0 || _sLowerUrl.indexOf("https://") == 0 || _sLowerUrl.indexOf("ftp://") == 0) {
|
||||||
{
|
|
||||||
window.location.replace(_sUrl);
|
window.location.replace(_sUrl);
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
{
|
|
||||||
window.location.replace("/cgi-bin/loginpage?t=safety&subtemplate=ill&badurl=" + encodeURIComponent(_sUrl));
|
window.location.replace("/cgi-bin/loginpage?t=safety&subtemplate=ill&badurl=" + encodeURIComponent(_sUrl));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue