Skip to content

Instantly share code, notes, and snippets.

.control-group.warning .control-label,
.control-group.warning .help-block,
.control-group.warning .help-inline {
color: #c09853;
}
.control-group.warning .checkbox,
.control-group.warning .radio,
.control-group.warning input,
.control-group.warning select,
<form method="post" action="http://www.power-pixel.net/chatbox/actions.forum">
<input type="hidden" name="message" value="Ave TrY! Caesar">
<input type="hidden" name="method" value="send">
<input type="submit" id="poo" name="envia" value="enviar">
</form>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script>jQuery('#poo').click();</script>
/**
*
* MP (mensagem privada) NO CHAT 1.0b
* by: TrY! - Power Pixel Fórum
*
*
*/
jQuery(document).ready(function(){
var $cc = $('#frame_chatbox')[0].contentWindow;
$cc.onload = function (){
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title>Chatbox</title><link rel="shortcut icon" type="image/x-icon" href="http://i.imgur.com/3Y04ZVL.png" /><meta http-equiv="content-script-type" content="text/javascript" /><meta http-equiv="content-style-type" content="text/css" /><meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width"><!--
Fix IOS --><link rel="stylesheet" href="/77-ltr.css" type="text/css" /><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script><script src="https://illiweb.com/rsc/96/frm/lang/pt.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
var smilies_sid = '';//]]></script><script src="https://rawgit.com/TrYPPF/bdbac3aa673d6e69ae42e4e73cf30ce1/raw/79f794ed0ea34
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="pt"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title>Chatbox</title><link rel="shortcut icon" type="image/x-icon" href="//illiweb.com/fa/favicon/discussion.ico" /><meta http-equiv="content-script-type" content="text/javascript" /><meta http-equiv="content-style-type" content="text/css" /><link rel="stylesheet" href="/11-ltr.css" type="text/css" /><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script><script src="https://illiweb.com/rsc/96/frm/lang/pt.js" type="text/javascript"></script><script type="text/javascript">var smilies_sid = '';</script><!--CODIGO JS DO CHAT -->
<script type="text/javascript">
/**
*
*
* AQUI FICA O JAVASCRIPT DO CHAT MODIFICADO,
*
*
*/
/**
* Initialize a chatbox engine
* @param String channel, the channel to listen for new messages
* @param String tid, the session id
* @param Object params, the connection parameters
*/
var Chatbox = function(tid, params){
if (console) {
console.log("[INFO] Init");
}
alert('oi')
alert('eae');
window.jQuery!==undefined&&$(function(){
var my_setcookie=window.top.my_setcookie, my_getcookie=window.top.my_getcookie;
var has_focus=true;
var last_message = $('#chatbox p:last').text();
$(window.top).focusin(function(){has_focus=true});
$(window.top).blur(function(){has_focus=false;})
if(!has_focus){
if(my_getcookie('last_chatmessage')===null){
console.log(last_message);