a guest Aug 25th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).ready(function(){
  2.   $("body").append('<div onclick="clickevent();" style="width:203px;height:42px;background:grey;color:#fff;line-height:42px;position:absolute;text-align:center;font-size:20px;border:1px solid #222;box-shadow:0 0 8px #000;top:21px;right:0;left:0;margin:auto;border-radius:5px;cursor:pointer;">Send Gifs</div>');
  3. });
  5. function clickevent() {
  6.     var input = document.getElementById("chat_input");
  7.     var btn = $(".chat-form");
  8.     var test = ["Hi guys!)Welcome to my room!Tip me please if you want to see more!Help me reach my goal and have a lot of fun together!!!"];
  9.     $.each(test, function(index, value) {
  10.         input.value = value;
  11.         btn.submit();
  12.     });
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand