SG2O

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name          SG2O
// @namespace     sg2o
// @homepage      https://sg2o.clerius.de
// @description   Add the old functionality of sg+ to Steamgifts (v2).
// @copyright     2014+, Clerius (https://sg2o.clerius.de)
// @license       GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @version       0.4.0
//
// @include   *://www.steamgifts.com/*
//
// @supportURL https://github.com/gerritwalther/sg2o/issues
//
// @run-at    document-end
//
// ==/UserScript==
(function () {
  var pipsCss = document.createElement('link');
  pipsCss.type = 'text/css';
  pipsCss.rel = 'stylesheet';
  pipsCss.href = 'https://sg2o.clerius.de/jquery/jquery-ui-slider-pips.css';
  pipsCss.media = 'all';
  document.head.appendChild(pipsCss);

  var pips = document.createElement('script');
  pips.type = 'text/javascript';
  pips.src = 'https://sg2o.clerius.de/jquery/jquery-ui-slider-pips.min.js';
  document.head.appendChild(pips);

  var powertipCss = document.createElement('link');
  powertipCss.type = 'text/css';
  powertipCss.rel = 'stylesheet';
  powertipCss.href = 'https://sg2o.clerius.de/jquery/jquery-powertip-1.2.0/jquery.powertip-dark.min.css';
  powertipCss.media = 'all';
  document.head.appendChild(powertipCss);

  var powertipJs = document.createElement('script');
  powertipJs.type = 'text/javascript';
  powertipJs.src = 'https://sg2o.clerius.de/jquery/jquery-powertip-1.2.0/jquery.powertip.min.js';
  document.head.appendChild(powertipJs);

  var sg2o = document.createElement('script');
  sg2o.type = 'text/javascript';
  sg2o.src = 'https://sg2o.clerius.de/sg2o.user.js';
  document.body.appendChild(sg2o);
})();