User:Techman129/Im done.js

if(wgCanonicalSpecialPageName == 'Chat') { function frustrate { $('[name="message"]').val('Im done'); mainRoom.sendMessage({       which: 13,        shiftKey: false,        preventDefault: function  {},        target: $('[name="message"]')    }) setTimeout(function {document.location.href ="https://www.google.com/search?q=cute+kittens&biw=1366&bih=667&source=lnms&tbm=isch&sa=X&ved=0CAYQ_AUoAWoVChMIx-jL-5qGxwIVi44NCh0s1gvS";},1250); } $('form#Write').append('Frustration'); }