kick out potential dangerous and unnecessary stuff

This commit is contained in:
Claude 2014-09-06 19:34:19 +02:00
parent fc4b1f4748
commit 79e98268e9

View File

@ -162,7 +162,15 @@ ST.crypto = function() {
.replace(/ /g, ' ')
.replace(/\n/g, '<br />')
);
// kick out potential dangerous and unnecessary stuff
$('.text_formatted').css('background', '#efe');
$('.replies').hide();
for(var i=2; i<=7; i++) {
$('.meta .detail:nth-child(' + i + ')').hide();
}
$('.meta .spacer:first').hide();
$('.qr').hide();
} catch(e) {}
}
}