TastyPlug UserScript

Automatically runs TastyPlug on plug.dj

  1. // ==UserScript==
  2. // @name TastyPlug UserScript
  3. // @namespace https://fungustime.pw/tastyplug
  4. // @description Automatically runs TastyPlug on plug.dj
  5. // @icon https://fungustime.pw/tastyplug/icon128.png
  6. // @include https://plug.dj/*
  7. // @exclude https://plug.dj/dashboard
  8. // @exclude https://plug.dj/privacy
  9. // @exclude https://plug.dj/terms
  10. // @exclude https://plug.dj/communities
  11. // @author Olivier Houle (Fungus)
  12. // @version 1.1
  13. // ==/UserScript==
  14.  
  15. /*
  16. Copyright (c) 2013-2014 by Olivier Houle (Fungus)
  17. Please do not copy or modify without my permission.
  18. */
  19.  
  20. (function(){
  21. var a = function(){
  22. if (!document.getElementById('room-loader')) setTimeout(a,200);
  23. else b();
  24. },
  25. b = function(){
  26. if (document.getElementById('room-loader')) setTimeout(b,200);
  27. else {
  28. var c = document.createElement('script');
  29. c.textContent = "$.getScript('https://fungustime.pw/tastyplug/tastyplug.js');";
  30. document.head.appendChild(c);
  31. }
  32. };
  33. a();
  34. })();