Skip to content

Instantly share code, notes, and snippets.

@GalvinGao
Last active March 12, 2023 08:01
Show Gist options
  • Save GalvinGao/bdf0bfae96dce358e7d54403935d4e19 to your computer and use it in GitHub Desktop.
Save GalvinGao/bdf0bfae96dce358e7d54403935d4e19 to your computer and use it in GitHub Desktop.

Penguin Statistics - Enable Debug

This is a very tiny snippet of userscript that allows the one to enable debug features on the production version of Penguin Statistics website.

Limitations

This snippet may NOT be distributed through any public file or code sharing services such as GreasyFork or other places on GitHub. This snippet is releasing under only a personal attribution of myself :D

// ==UserScript==
// @name Penguin Statistics - Enable Debug
// @namespace https://gist.github.com/GalvinGao/bdf0bfae96dce358e7d54403935d4e19
// @version 0.2
// @description This script allows you to simply enable several debug options that is by default, set to false on the production Penguin Statistics website.
// @copyright 2020 GalvinGao <https://github.com/GalvinGao>
// @author GalvinGao <https://github.com/GalvinGao>
// @include *://localhost:*/*
// @include *://penguin-stats.*/*
// @include *://*.penguin-stats.*/*
// @include *://*.penguin-statistics.vercel.app/*
// @include *://*.penguin-statistics.now.sh/*
// @icon https://penguin.upyun.galvincdn.com/logos/penguin_stats_logo.png
// @icon64 https://penguin.upyun.galvincdn.com/logos/penguin_stats_logo.png!/fw/64
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
window.PENGUIN_STATS_DEBUG = {
"performance": true,
"devtools": true,
"colorfulConsole": true,
"fullConsole": true,
"frostnova": true
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment