Sleazy Fork is available in English.

TGSscript

Memes

  1. // ==UserScript==
  2. // @name TGSscript
  3. // @namespace TGS's room
  4. // @version 0.25
  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. // { src:"", width:, height:, title:''},
  14. // { src:"", width:, height:, name:''},
  15. var emotes = [
  16. { src:"http://25.media.tumblr.com/tumblr_ljh7li6E8b1qe13iio1_500.gif", width:120, height:100, title:'pentaface'},
  17. { src:"http://i323.photobucket.com/albums/nn455/Chuckie_081/779286-th_satanic_gif_01.gif", width:70, height:60, title:'stanmind'},
  18. { src:"http://38.media.tumblr.com/tumblr_maz1crB53J1qjmycco1_500.gif", width:90, height:75, title:'loading'},
  19. { src:"http://24.media.tumblr.com/7cc1c4ffe84e7ebf583bb32b21f9911f/tumblr_mvlyesxZKW1qg39ewo1_500.gif", width:70, height:50, title:'666'},
  20. { src:"http://31.media.tumblr.com/d91cf3c2f9259f68effbcab22b0af5b4/tumblr_nel5010FNP1qajzcfo1_500.gif", width:70, height:70, title:'cross1'},
  21. { src:"http://i.ytimg.com/vi/p2PbQ989kvA/maxresdefault.jpg", width:85, height:80, title:'DMT'},
  22. { src:"http://i.imgur.com/AMARQO8.png?1", width:65, height:70, title:'frank'},
  23. { src:"http://i.imgur.com/pFbVo4s.jpg?1", width:65, height:70, title:'kevin'},
  24. ];
  25.  
  26. function addEmotes(){
  27. emotes.forEach(function(emote){
  28. window.$codes[emote.title || emote.name] = $('<img>', emote)[0].outerHTML;
  29. });
  30. }
  31. function main(){
  32. if(!window.$codes || Object.keys(window.$codes).length === 0){
  33. setTimeout(main, 75);
  34. }else{
  35. addEmotes();
  36. }
  37. }
  38. if (window.document.readyState === 'complete') {
  39. main();
  40. } else {
  41. window.addEventListener('load', main, false);
  42. }