Hitbox Emotes

The original Hitbox Emotes script with ober 15,000 emotes! - Request your custom emotes and mod badges here!

  1. // ==UserScript==
  2. // @name Hitbox Emotes
  3. // @namespace https://twitter.com/gamingtom
  4. // @namespace https://github.com/GamingTom/HitboxEmotes
  5. // @namespace https://streamtip.com/h/gamingtom
  6. // @description The original Hitbox Emotes script with ober 15,000 emotes! - Request your custom emotes and mod badges here!
  7. // @include *.hitbox.tv/*
  8. // @include *.vgstreams.com/*
  9. // @include *.multistream.xuzia.com/*
  10. // @icon http://i.imgur.com/fa1Kkku.png
  11. // @version 1.3.9
  12. // ==/UserScript==
  13.  
  14. //Feel free to donate! https://streamtip.com/h/gamingtom
  15.  
  16. function style_init()
  17. {
  18. var CustomStyle = document.createElement('link');
  19. CustomStyle.setAttribute('rel', 'stylesheet');
  20. CustomStyle.setAttribute('type', 'text/css');
  21. CustomStyle.setAttribute('href', 'https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/css/CustomStyle.css')
  22. var head = document.getElementsByTagName('head')[0];
  23. if (head) {
  24. head.appendChild(CustomStyle);
  25. console.log("Hitbox Emotes: Custom style loaded")
  26. }
  27. }
  28.  
  29. function javascript_init()
  30. {
  31. var TwitchGlobal = document.createElement('script');
  32. TwitchGlobal.type = 'text/javascript';
  33. TwitchGlobal.src = "https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/javascript/TwitchGlobal.js";
  34.  
  35. var TwitchSub = document.createElement('script'); //Thanks to the http://twitchemotes.com api!
  36. TwitchSub.type = 'text/javascript';
  37. TwitchSub.src = "https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/javascript/TwitchSub.js";
  38. var BackupEmotes = document.createElement('script');
  39. BackupEmotes.type = 'text/javascript';
  40. BackupEmotes.src = "https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/javascript/EmotesBackup.js";
  41. var CustomEmotes = document.createElement('script');
  42. CustomEmotes.type = 'text/javascript';
  43. CustomEmotes.src = "https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/javascript/CustomEmotes.js";
  44. var CustomBadges = document.createElement('script');
  45. CustomBadges.type = 'text/javascript';
  46. CustomBadges.src = "https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/javascript/CustomBadges.js";
  47. var head = document.getElementsByTagName('head')[0];
  48. if (head) {
  49. head.appendChild(TwitchGlobal);
  50. console.log("Hitbox Emotes: Global Twitch emotes loaded from " + TwitchGlobal.src)
  51. head.appendChild(TwitchSub);
  52. console.log("Hitbox Emotes: Subscriber Twitch emtoes loaded from " + TwitchSub.src)
  53. head.appendChild(BackupEmotes);
  54. console.log("Hitbox Emotes: Backup emotes loaded from " + BackupEmotes.src)
  55. head.appendChild(CustomEmotes);
  56. console.log("Hitbox Emotes: Custom emotes loaded from " + CustomEmotes.src)
  57. head.appendChild(CustomBadges);
  58. }
  59. }
  60.  
  61. style_init();
  62. window.onload = javascript_init;