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.  
  25. var pips = document.createElement('script');
  26. pips.type = 'text/javascript';
  27. pips.src = 'https://sg2o.clerius.de/jquery/jquery-ui-slider-pips.min.js';
  28. document.head.appendChild(pips);
  29.  
  30. var powertipCss = document.createElement('link');
  31. powertipCss.type = 'text/css';
  32. powertipCss.rel = 'stylesheet';
  33. powertipCss.href = 'https://sg2o.clerius.de/jquery/jquery-powertip-1.2.0/jquery.powertip-dark.min.css';
  34. powertipCss.media = 'all';
  35. document.head.appendChild(powertipCss);
  36.  
  37. var powertipJs = document.createElement('script');
  38. powertipJs.type = 'text/javascript';
  39. powertipJs.src = 'https://sg2o.clerius.de/jquery/jquery-powertip-1.2.0/jquery.powertip.min.js';
  40. document.head.appendChild(powertipJs);
  41.  
  42. var sg2o = document.createElement('script');
  43. sg2o.type = 'text/javascript';
  44. sg2o.src = 'https://sg2o.clerius.de/sg2o.user.js';
  45. document.body.appendChild(sg2o);
  46. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址