Dipmotes

more like shitmotes amirite

当前为 2016-01-27 提交的版本,查看 最新版本

  1.  
  2. // ==UserScript==
  3. // @name Dipmotes
  4. // @namespace Rooms
  5. // @version 0.56.1
  6. // @description more like shitmotes amirite
  7. // @grant none
  8. // @copyright 2015
  9. // @include *http://*.instasynch.com*
  10. // @include *http://instasynch.com*
  11. // @include *http://*.instasync.com*
  12. // @include *http://instasync.com*
  13. // ==/UserScript==
  14.  
  15.  
  16. // $$$$$$ /$$$$$$ /$$$$$$
  17. //| $$__ $|_ $$_//$$__ $$
  18. //| $$ \ $$ | $$ | $$ \__/
  19. //| $$$$$$$ | $$ | $$ /$$$$
  20. //| $$__ $$ | $$ | $$|_ $$
  21. //| $$ \ $$ | $$ | $$ \ $$
  22. //| $$$$$$$//$$$$$| $$$$$$/
  23. //|_______/|______/\______/
  24. // /$$$$$$$ /$$ /$$$$$$ /$$$$$$ /$$ /$$
  25. //| $$__ $| $$ /$$__ $$/$$__ $| $$ /$$/
  26. //| $$ \ $| $$ | $$ \ $| $$ \__| $$ /$$/
  27. //| $$$$$$$| $$ | $$$$$$$| $$ | $$$$$/
  28. //| $$__ $| $$ | $$__ $| $$ | $$ $$
  29. //| $$ \ $| $$ | $$ | $| $$ $| $$\ $$
  30. //| $$$$$$$| $$$$$$$| $$ | $| $$$$$$| $$ \ $$
  31. //|_______/|________|__/ |__/\______/|__/ \__/
  32. //$$ /$$/$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
  33. //| $$$ | $|_ $$_//$$__ $$/$$__ $$/$$__ $$
  34. //| $$$$| $$ | $$ | $$ \__| $$ \__| $$ \ $$
  35. //| $$ $$ $$ | $$ | $$ /$$$| $$ /$$$| $$$$$$$$
  36. //| $$ $$$$ | $$ | $$|_ $| $$|_ $| $$__ $$
  37. //| $$\ $$$ | $$ | $$ \ $| $$ \ $| $$ | $$
  38. //| $$ \ $$/$$$$$| $$$$$$| $$$$$$| $$ | $$
  39. //|__/ \__|______/\______/ \______/|__/ |__/
  40.  
  41.  
  42.  
  43. // { src:"", width:, height:, title:''},
  44. // { src:"", width:, height:, name:''},
  45.  
  46.  
  47. //emotes organized by date added
  48.  
  49.  
  50. var emotes = [
  51. //old dwarfmemes
  52. { src:"http://i.imgur.com/YAXiqfx.jpg", width:100, height:60, title:'doit'},
  53. { src:"http://i.imgur.com/5N9WvCX.jpg", width:110, height:110, title:'partyhard'},
  54. { src:"http://i.imgur.com/YqdnTBX.jpg", width:100, height:100, title:'bigblacknigga'},
  55. { src:"http://i.imgur.com/RFlgdxc.gif", width:90, height:120, title:'lipsuckin'},
  56. { src:"http://i.imgur.com/e59lUCu.gif", width:220, height:200, title:'bigblackgif'},
  57. { src:"http://i.imgur.com/c1hMV16.jpg", width:100, height:100, title:'fuckboy'},
  58. { src:"http://i.imgur.com/utG6MDy.png", width:18, height:18, title:'dappershark'},
  59. { src:"http://i.imgur.com/dvTegQX.jpg", width:120, height:100, title:'sleep'},
  60. { src:"http://i.imgur.com/Df8bSz6.gif", width:150, height:115, title:'snieg'},
  61. { src:"http://i.imgur.com/pm2jbj7.gif", width:150, height:94, title:'sack'},
  62. { src:"http://i.imgur.com/HdzRq4d.gif", width:125, height:100, title:'cut'},
  63. { src:"http://i.imgur.com/KlabckX.png", width:85, height:85, title:'tramplin'},
  64. { src:"http://i.imgur.com/dvTegQX.jpg", width:1920, height:1280, title:'youaskedforthis'},
  65. { src:"https://i.imgur.com/09J9qW6.gif", width:80, height:60, title:'hikevin'},
  66.  
  67. //dipmotes
  68. { src:"http://i.imgur.com/wAYlycr.gif", width:50, height:49, title:'oooo'},
  69. { src:"http://i.imgur.com/ElR7zjL.png", width:50, height:50, title:'fsjal'},
  70. { src:"http://i.imgur.com/KXuKlX1.png", width:50, height:50, title:'post'},
  71. { src:"http://i.imgur.com/PCnx2sN.jpg", width:55, height:50, title:'uoykcuf'},
  72. { src:"http://i.imgur.com/GGzDb9a.jpg", width:55, height:50, title:'?'},
  73. { src:"http://i.imgur.com/4SbH0Ae.jpg", width:55, height:50, title:'??'},
  74. { src:"http://i.imgur.com/vroyEA4.png", width:55, height:50, title:'???'},
  75. { src:"http://i.imgur.com/cInddwT.gif", width:36, height:26, title:'statesrights'},
  76. { src:"http://i.imgur.com/59mD7NG.gif", width:60, height:60, title:'PJ'},
  77. { src:"http://i.imgur.com/Pe9an0n.gif", width:60, height:75, title:'hi'},
  78. { src:"http://i.imgur.com/vo9CuDY.jpg", width:55, height:55, title:'shrepepe'},
  79.  
  80.  
  81. //poobangemotes
  82. { src:"http://i.imgur.com/h04cGrZ.gif", width:55, height:40, title:'velma'},
  83. { src:"http://i.imgur.com/D0Blc2s.gif", width:63, height:54, title:'scoob'},
  84. { src:"http://i.imgur.com/g2U98le.gif", width:65, height:55, title:'pikacry'},
  85. { src:"http://i.imgur.com/0GY8MaD.gif", width:55, height:50, title:'melt'},
  86.  
  87. //dwarfmotes
  88. { src:"https://i.imgur.com/P0pG0dV.jpg", width:75, height:50, title:'rused'},
  89.  
  90.  
  91. //twat
  92. { src:"http://i.imgur.com/aXTehuF.jpg", width:185, height:250, title:'nagitwat'},
  93. { src:"http://i.imgur.com/o80OvsD.jpg", width:75, height:75, title:'danktwat'},
  94. { src:"http://i.imgur.com/NzfzPWG.png", width:50, height:50, title:'raretwat'},
  95. { src:"http://i.imgur.com/Y1nceBb.png", width:50, height:50, title:'twatpepe'},
  96. { src:"http://puu.sh/k9u2g/1e787e099e.jpg", width:68, height:50, title:'ayytwat'},
  97. { src:"http://i.imgur.com/ipBzsZg.png", width:75, height:90, title:'animetwat'},
  98. { src:"http://i.imgur.com/wG00mfu.jpg", width:55, height:50, title:'hightwat'},
  99. { src:"http://i.imgur.com/WCd79wo.jpg", width:75, height:75, title:'snaptwat'},
  100. // { src:"http://i.imgur.com/8lJAiIX.png", width:60, height:85, title:'sadtwat'},
  101. //kek { src:"http://i.imgur.com/MgfvUcv.gif", width:50, height:49, title:'ootwat'},
  102. { src:"http://i.imgur.com/5puOLuI.gif", width:50, height:49, title:'oootwat'},
  103.  
  104.  
  105. //clonemotes
  106. //i'll do this later
  107.  
  108. //remotes
  109. { src:"https://puu.sh/mkc07/b376962efd.jpg", width:240, height:320, title:'sexy'},
  110. //{ src:"http://i.imgur.com/k9xpUve.gif", width:100, height:100, title:'thefuck'},
  111. //{ src:"http://i.imgur.com/llw7y4f.gif", width:100, height:100, title:'canteven'},
  112. //{ src:"http://i.imgur.com/5MHy4wV.gif", width:95, height:70, title:'drunktwat'},
  113. //{ src:"http://i.imgur.com/y5vqwSl.jpg", width:56, height:75, title:'ohfuck'},
  114. //{ src:"http://i.imgur.com/L1ydcJP.gif", width:70, height:70, title:'lolilol'},
  115. //{ src:"http://i.imgur.com/8bGGKJL.gif", width:100, height:70, title:'loafening'},
  116. //{ src:"http://i.imgur.com/qVMBTzs.jpg", width:70, height:70, title:'bait'},
  117. //{ src:"http://i.imgur.com/wokwDxH.jpg", width:74, height:70, title:'rlytho'},
  118. //{ src:"hhttp://i.imgur.com/siA1Cve.gif", width:63, height:70, title:'jonstop'},
  119. //{ src:"http://i.imgur.com/E8Es0xC.jpg", width:217, height:70, title:'victory'},
  120. //{ src:"http://i.imgur.com/ELNtniv.png", width:70, height:68, title:'toplol'},
  121. //{ src:"http://i.imgur.com/m2jM85j.png", width:72, height:70, title:'toplel'},
  122. //{ src:"http://i.imgur.com/tQUFueD.gif", width:67, height:70, title:'delectable'},
  123. //{ src:"http://i.imgur.com/belpqK0.gif", width:250, height:250, title:'mindcrush'},
  124. //{ src:"http://i.imgur.com/2YOG5cO.gif", width:60, height:90, title:'judenpls'},
  125. ];
  126. function addEmotes(){
  127. emotes.forEach(function(emote){
  128. window.$codes[emote.title || emote.name] = $('<img>', emote)[0].outerHTML;
  129. });
  130. }
  131.  
  132. function main(){
  133. if(!window.$codes || Object.keys(window.$codes).length === 0){
  134. setTimeout(main, 75);
  135. }else{
  136. addEmotes();
  137. }
  138. }
  139. if (window.document.readyState === 'complete') {
  140. main();
  141. } else {
  142. window.addEventListener('load', main, false);
  143. }