Remotes

Memes

  1. // ==UserScript==
  2. // @name Remotes
  3. // @namespace Intended for Unoeme's
  4. // @version 2.04
  5. // @description Memes
  6. // @grant none
  7. // @copyright 2015
  8. // @include *://*.instasynch.com/*
  9. // @include *://instasynch.com/*
  10. // @include *://*.instasync.com/*
  11. // @include *://instasync.com/*
  12. // ==/UserScript==
  13.  
  14. // { src:"", width:, height:, title:''},
  15. // { src:"", width:, height:, name:''},
  16. // NEW SYNTAX {"name":"entername","image":"imageurl"}
  17.  
  18. // http://tinyurl.com/Xx-remotes-xX
  19.  
  20. var emotes = [
  21. { src:"http://i.imgur.com/08e85B9.gif", width:67, height:50, title:'10'},
  22. { src:"http://i.imgur.com/mkZbyMJ.jpg", width:98, height:55, title:'4u'},
  23. { src:"http://i.imgur.com/8jSkRy4.gif", width:83, height:55, title:'a e s t h e t i c'},
  24. { src:"http://i.imgur.com/Ueq53IX.jpg", width:60, height:60, title:'aestheticfrog'},
  25. { src:"http://i.imgur.com/Ueq53IX.jpg", width:60, height:60, title:'aesthetic'},
  26. { src:"http://i.imgur.com/7lOShaN.jpg", width:50, height:50, title:'bait'},
  27. { src:"http://i.imgur.com/wooUTgz.png", width:66, height:60, title:'bebe'},
  28. { src:"http://i.imgur.com/Wqoqu4Y.jpg", width:98, height:55, title:'bigguy'},
  29. { src:"http://i.imgur.com/6irHkZQ.gif", width:46, height:55, title:'canteven'},
  30. { src:"http://i.imgur.com/GMPSC9m.jpg", width:70, height:70, title:'crabfeels'},
  31. { src:"http://i.imgur.com/hIGuhgF.png", width:62, height:50, title:'damagecontrol'},
  32. { src:"http://i.imgur.com/GpaV0TK.gif", width:48, height:60, title:'delectable'},
  33. { src:"http://i.imgur.com/90LKGem.gif", width:57, height:50, title:'doit'},
  34. { src:"http://i.imgur.com/Hz7GJcT.jpg", width:51, height:55, title:'expend'},
  35. { src:"http://i.imgur.com/H4Eur5e.png", width:40, height:37, title:'feelsbad'},
  36. { src:"http://i.imgur.com/EVm5q51.gif", width:69, height:50, title:'furrydance'},
  37. { src:"http://i.imgur.com/ny6U8su.png", width:55, height:55, title:'heyqt'},
  38. { src:"http://i.imgur.com/swU3vZO.jpg", width:37, height:50, title:'hi'},
  39. { src:"http://i.imgur.com/Xtf7PYC.gif", width:36, height:26, title:'isis'},
  40. { src:"http://i.imgur.com/6DlrOFa.gif", width:61, height:50, title:'john'},
  41. { src:"http://i.imgur.com/o9Mq4pX.gif", width:45, height:50, title:'jonstop'},
  42. { src:"http://i.imgur.com/p8U2Wxl.gif", width:76, height:50, title:'judenpls'},
  43. { src:"http://i.imgur.com/jtey67k.gif", width:68, height:50, title:'kick'},
  44. { src:"http://i.imgur.com/t9TnP2E.png", width:50, height:50, title:'killme'},
  45. { src:"http://i.imgur.com/HDZAHPF.jpg", width:60, height:60, title:'kys'},
  46. { src:"http://i.imgur.com/iiuPKtQ.gif", width:81, height:55, title:'leek'},
  47. { src:"http://i.imgur.com/28tuY4J.gif", width:72, height:50, title:'loafening'},
  48. { src:"http://i.imgur.com/sYEavuH.gif", width:49, height:50, title:'lolilol'},
  49. { src:"http://i.imgur.com/PanqfwP.png", width:133, height:45, title:'mystery'},
  50. { src:"http://i.imgur.com/ntFtGcG.png", width:55, height:55, title:'nagdaddy'},
  51. { src:"http://i.imgur.com/LYMjTKo.jpg", width:41, height:55, title:'ohfuck'},
  52. { src:"http://i.imgur.com/KEMGLHb.gif", width:150, height:50, title:'remgenda'},
  53. { src:"http://i.imgur.com/3KE2Lon.png", width:51, height:55, title:'retract'},
  54. { src:"http://i.imgur.com/udh484q.jpg", width:63, height:60, title:'rlytho'},
  55. { src:"http://i.imgur.com/cwk6hiK.png", width:57, height:55, title:'shitnigger'},
  56. { src:"http://i.imgur.com/gDyQACv.gif", width:73, height:55, title:'sigh'},
  57. { src:"http://i.imgur.com/mmdFI44.png", width:52, height:50, title:'toplel'},
  58. { src:"http://i.imgur.com/zOThS9F.jpg", width:68, height:50, title:'trump'},
  59. { src:"http://i.imgur.com/o9Mo1zk.jpg", width:140, height:45, title:'victory'},
  60. { src:"http://i.imgur.com/XofU7I9.gif", width:80, height:60, title:'welcome'},
  61. ];
  62.  
  63. function addEmotes(){
  64. emotes.forEach(function(emote){
  65. window.$codes[emote.title || emote.name] = $('<img>', emote)[0].outerHTML;
  66. });
  67. }
  68. function main(){
  69. if(!window.$codes || Object.keys(window.$codes).length === 0){
  70. setTimeout(main, 75);
  71. }else{
  72. addEmotes();
  73. }
  74. }
  75. if (window.document.readyState === 'complete') {
  76. main();
  77. } else {
  78. window.addEventListener('load', main, false);
  79. }