NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Enfeita frases bate papo uol beta // @version 0.1 // @description Enfeita frases bate papo uol beta // @author megaLucario // @match http://batepapo.uol.com.br/beta/* // @grant none // ==/UserScript== 'use strict'; var enfeites = function(){ var scope = angular.element($('#sendBtn')).scope(); var oldSendMsg = scope.sendMsg; scope.sendMsg = function() { scope.text = "☆★" + scope.text + "★☆"; oldSendMsg(); } } var enfeitesInterval = setInterval(function(){ if(document.querySelector('#chatMessageSend')){ enfeites(); clearInterval(enfeitesInterval); } }, 100);