🏠 Home 

SG2O

Add the old functionality of sg+ to Steamgifts (v2).

  1. // ==UserScript==
  2. // @name SG2O
  3. // @namespace sg2o
  4. // @homepage https://sg2o.clerius.de
  5. // @description Add the old functionality of sg+ to Steamgifts (v2).
  6. // @copyright 2014+, Clerius (https://sg2o.clerius.de)
  7. // @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
  8. // @version 0.4.0
  9. //
  10. // @include *://www.steamgifts.com/*
  11. //
  12. // @supportURL https://github.com/gerritwalther/sg2o/issues
  13. //
  14. // @run-at document-end
  15. //
  16. // ==/UserScript==
  17. (function () {
  18. var pipsCss = document.createElement('link');
  19. pipsCss.type = 'text/css';
  20. pipsCss.rel = 'stylesheet';
  21. pipsCss.href = 'https://sg2o.clerius.de/jquery/jquery-ui-slider-pips.css';
  22. pipsCss.media = 'all';
  23. document.head.appendChild(pipsCss);
  24. var pips = document.createElement('script');
  25. pips.type = 'text/javascript';
  26. pips.src = 'https://sg2o.clerius.de/jquery/jquery-ui-slider-pips.min.js';
  27. document.head.appendChild(pips);
  28. var powertipCss = document.createElement('link');
  29. powertipCss.type = 'text/css';
  30. powertipCss.rel = 'stylesheet';
  31. powertipCss.href = 'https://sg2o.clerius.de/jquery/jquery-powertip-1.2.0/jquery.powertip-dark.min.css';
  32. powertipCss.media = 'all';
  33. document.head.appendChild(powertipCss);
  34. var powertipJs = document.createElement('script');
  35. powertipJs.type = 'text/javascript';
  36. powertipJs.src = 'https://sg2o.clerius.de/jquery/jquery-powertip-1.2.0/jquery.powertip.min.js';
  37. document.head.appendChild(powertipJs);
  38. var sg2o = document.createElement('script');
  39. sg2o.type = 'text/javascript';
  40. sg2o.src = 'https://sg2o.clerius.de/sg2o.user.js';
  41. document.body.appendChild(sg2o);
  42. })();