Dipmotes

more like shitmotes amirite

当前为 2015-12-21 提交的版本,查看 最新版本

  1.  
  2. // ==UserScript==
  3. // @name Dipmotes
  4. // @namespace Rooms
  5. // @version 0.53.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.  
  44. // { src:"", width:, height:, title:''},
  45. // { src:"", width:, height:, name:''},
  46.  
  47.  
  48. var emotes = [
  49. //old dwarfmemes
  50. { src:"http://i.imgur.com/YAXiqfx.jpg", width:100, height:60, title:'doit'},
  51. { src:"http://i.imgur.com/5N9WvCX.jpg", width:110, height:110, title:'partyhard'},
  52. { src:"http://i.imgur.com/YqdnTBX.jpg", width:100, height:100, title:'bigblacknigga'},
  53. { src:"http://i.imgur.com/RFlgdxc.gif", width:90, height:120, title:'lipsuckin'},
  54. { src:"http://i.imgur.com/e59lUCu.gif", width:220, height:200, title:'bigblackgif'},
  55. { src:"http://i.imgur.com/c1hMV16.jpg", width:100, height:100, title:'fuckboy'},
  56. { src:"http://i.imgur.com/utG6MDy.png", width:18, height:18, title:'dappershark'},
  57. { src:"http://i.imgur.com/dvTegQX.jpg", width:120, height:100, title:'sleep'},
  58. { src:"http://i.imgur.com/Df8bSz6.gif", width:150, height:115, title:'snieg'},
  59. { src:"http://i.imgur.com/pm2jbj7.gif", width:150, height:94, title:'sack'},
  60. { src:"http://i.imgur.com/HdzRq4d.gif", width:125, height:100, title:'cut'},
  61. { src:"http://i.imgur.com/KlabckX.png", width:85, height:85, title:'tramplin'},
  62. { src:"http://i.imgur.com/dvTegQX.jpg", width:1920, height:1280, title:'youaskedforthis'},
  63. { src:"https://i.imgur.com/09J9qW6.gif", width:80, height:60, title:'hikevin'},
  64.  
  65. //dipmotes
  66. { src:"http://i.imgur.com/wAYlycr.gif", width:50, height:49, title:'oooo'},
  67. { src:"http://i.imgur.com/ElR7zjL.png", width:50, height:50, title:'fsjal'},
  68. { src:"http://i.imgur.com/KXuKlX1.png", width:50, height:50, title:'post'},
  69. { src:"http://i.imgur.com/PCnx2sN.jpg", width:55, height:50, title:'uoykcuf'},
  70. { src:"http://i.imgur.com/GGzDb9a.jpg", width:55, height:50, title:'?'},
  71. { src:"http://i.imgur.com/4SbH0Ae.jpg", width:55, height:50, title:'??'},
  72. { src:"http://i.imgur.com/vroyEA4.png", width:55, height:50, title:'???'},
  73. { src:"http://i.imgur.com/cInddwT.gif", width:36, height:26, title:'statesrights'},
  74. { src:"http://i.imgur.com/59mD7NG.gif", width:60, height:60, title:'PJ'},
  75. { src:"http://i.imgur.com/Pe9an0n.gif", width:60, height:75, title:'hi'},
  76.  
  77. //poobangemotes
  78. { src:"http://i.imgur.com/h04cGrZ.gif", width:55, height:40, title:'velma'},
  79. { src:"http://i.imgur.com/D0Blc2s.gif", width:63, height:54, title:'scoob'},
  80. { src:"http://i.imgur.com/g2U98le.gif", width:65, height:55, title:'pikacry'},
  81. { src:"http://i.imgur.com/0GY8MaD.gif", width:55, height:50, title:'melt'},
  82.  
  83.  
  84. //twat
  85. { src:"http://i.imgur.com/aXTehuF.jpg", width:185, height:250, title:'nagitwat'},
  86. { src:"http://i.imgur.com/o80OvsD.jpg", width:75, height:75, title:'danktwat'},
  87. { src:"http://i.imgur.com/NzfzPWG.png", width:50, height:50, title:'raretwat'},
  88. { src:"http://i.imgur.com/Y1nceBb.png", width:50, height:50, title:'twatpepe'},
  89. { src:"http://puu.sh/k9u2g/1e787e099e.jpg", width:68, height:50, title:'ayytwat'},
  90. { src:"http://i.imgur.com/ipBzsZg.png", width:75, height:90, title:'animetwat'},
  91. { src:"http://i.imgur.com/wG00mfu.jpg", width:55, height:50, title:'hightwat'},
  92. { src:"http://i.imgur.com/WCd79wo.jpg", width:75, height:75, title:'snaptwat'},
  93. // { src:"http://i.imgur.com/8lJAiIX.png", width:60, height:85, title:'sadtwat'},
  94. //kek { src:"http://i.imgur.com/MgfvUcv.gif", width:50, height:49, title:'ootwat'},
  95. { src:"http://i.imgur.com/5puOLuI.gif", width:50, height:49, title:'oootwat'},
  96.  
  97.  
  98. //clonemotes
  99. //i'll do this later
  100. //retired remotes
  101. //{ src:"http://i.imgur.com/k9xpUve.gif", width:100, height:100, title:'thefuck'},
  102. //{ src:"http://i.imgur.com/llw7y4f.gif", width:100, height:100, title:'canteven'},
  103. //{ src:"http://i.imgur.com/5MHy4wV.gif", width:95, height:70, title:'drunktwat'},
  104. //{ src:"http://i.imgur.com/y5vqwSl.jpg", width:56, height:75, title:'ohfuck'},
  105. //{ src:"http://i.imgur.com/L1ydcJP.gif", width:70, height:70, title:'lolilol'},
  106. //{ src:"http://i.imgur.com/8bGGKJL.gif", width:100, height:70, title:'loafening'},
  107. //{ src:"http://i.imgur.com/qVMBTzs.jpg", width:70, height:70, title:'bait'},
  108. //{ src:"http://i.imgur.com/wokwDxH.jpg", width:74, height:70, title:'rlytho'},
  109. //{ src:"hhttp://i.imgur.com/siA1Cve.gif", width:63, height:70, title:'jonstop'},
  110. //{ src:"http://i.imgur.com/E8Es0xC.jpg", width:217, height:70, title:'victory'},
  111. //{ src:"http://i.imgur.com/ELNtniv.png", width:70, height:68, title:'toplol'},
  112. //{ src:"http://i.imgur.com/m2jM85j.png", width:72, height:70, title:'toplel'},
  113. //{ src:"http://i.imgur.com/tQUFueD.gif", width:67, height:70, title:'delectable'},
  114. //{ src:"http://i.imgur.com/belpqK0.gif", width:250, height:250, title:'mindcrush'},
  115. //{ src:"http://i.imgur.com/2YOG5cO.gif", width:60, height:90, title:'judenpls'},
  116. ];
  117. function addEmotes(){
  118. emotes.forEach(function(emote){
  119. window.$codes[emote.title || emote.name] = $('<img>', emote)[0].outerHTML;
  120. });
  121. }
  122.  
  123. function main(){
  124. if(!window.$codes || Object.keys(window.$codes).length === 0){
  125. setTimeout(main, 75);
  126. }else{
  127. addEmotes();
  128. }
  129. }
  130. if (window.document.readyState === 'complete') {
  131. main();
  132. } else {
  133. window.addEventListener('load', main, false);
  134. }