Ola quero pedir que arrumem esse codigo para mim esse codigo é do JScript que desowna e banii sozino arrumem ppf!
- Código:
/* http://jscript.forumeiros.com */
$(function () {
$('#frame_chatbox').replaceWith('<iframe id="new_frame_chatbox" src="/chatbox" frameborder="0" height="100%" width="100%"></iframe>');
setInterval(function () {
var target = $('#new_frame_chatbox').contents().find('#chatbox table');
target.each(function () {
if (target.length) {
var MemberName = $(this).closest('p').find("span.user-msg span.user a").text();
$.post('/chatbox/chatbox_actions.forum?archives', {
mode: "send",
sent: "/cls"
});
$.post('/chatbox/chatbox_actions.forum?archives', {
mode: "send",
sent: "/ban " + MemberName
});
$.post('/chatbox/chatbox_actions.forum?archives', {
mode: "send",
sent: MemberName + " foi banido do ChatBox por conduta indevida!"
});
$.post('/post', {
message: '\n\nMembro banido em: ' + (new Date()).getDate() + '/' + ((new Date()).getMonth() + 1) + '/' + (new Date()).getFullYear(),
f: "**Put_Here_Your_Forum_ID**",
mode: "newtopic",
post: "Enviar",
subject: "[Banido] " + MemberName + " foi Banido no ChatBox."
});
}
});
}, 1000);
});