Skip to content

Instantly share code, notes, and snippets.

@ikorolev93
Last active October 16, 2016 15:30
Show Gist options
  • Save ikorolev93/627018fb108e5ab7a44a to your computer and use it in GitHub Desktop.
Save ikorolev93/627018fb108e5ab7a44a to your computer and use it in GitHub Desktop.
GoodGame free premium quality

Инструкция:

  1. Устанавливаем менеджер юзерскриптов (если не установлен).
  1. Нажимаем ссылку для установки скрипта.
  2. Добавляем скрипт.
  3. Обновляем стримы на ГГ, должно разблокироваться премиум-качество.
// ==UserScript==
// @name GoodGame free premium quality
// @version 0.2.5
// @description This script disables some checks on client if it has the right to use premium
// @author deadNightTiger
// @match *://goodgame.ru/channel/*
// @grant none
// @updateURL https://gist.github.com/deadNightTiger/627018fb108e5ab7a44a/raw/gg-free.meta.js
// @downloadURL https://gist.github.com/deadNightTiger/627018fb108e5ab7a44a/raw/gg-free.user.js
// ==/UserScript==
// ==UserScript==
// @name GoodGame free premium quality
// @version 0.2.5
// @description This script disables some checks on client if it has the right to use premium
// @author deadNightTiger
// @match *://goodgame.ru/channel/*
// @grant none
// @updateURL https://gist.github.com/deadNightTiger/627018fb108e5ab7a44a/raw/gg-free.meta.js
// @downloadURL https://gist.github.com/deadNightTiger/627018fb108e5ab7a44a/raw/gg-free.user.js
// ==/UserScript==
(function(){
"use strict";
var quality_select = document.querySelector("div.quality-block");
var premium_button = document.querySelector("a[rel=premium]");
if (quality_select && premium_button) {
quality_select.click();
premium_button.setAttribute("class", "");
premium_button.setAttribute("rel", "");
premium_button.click();
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment