// ==UserScript==
// @name         GameBanana UI Tweaks
// @namespace    http://gamebanana.com/members/1328950
// @version      0.01
// @description  Set of GameBanana User Interface tweaks writen in CSS & JS
// @author       Yogensia
// @match        http://*.gamebanana.com/*
// @grant        none
// ==/UserScript==

// Licensed under MIT License, for more info:
// https://raw.githubusercontent.com/yogensia/gb-ui-tweaks/master/LICENSE

// DOCUMENT OUTLINE
// 1. SETUP
// 2. CSS INIT



// SETUP
// ==================================================================

// variables
var VERSION = "0.01"; // script version
var EDGECSS = false; // use development version of CSS

// comment to enable console logging
console.log = function() {}



// CSS INIT
// ==================================================================

// DOM ready
$(function() {

	// if no uberstyle is found
	if ( $("link[href*='/uberstyles/']").length = 0 ) {
		// add CSS
		if ( EDGECSS == true ) {
			var gbUiTweaksCSS = '<link rel="stylesheet" href="http://yogensia.com/gamebanana/gb-ui-tweaks/gb-ui-tweaks.css">';
		} else {
			var gbUiTweaksCSS = '<link rel="stylesheet" href="https://rawgit.com/yogensia/gb-ui-tweaks/master/gb-ui-tweaks.css">';
		}
		$("head").append(gbUiTweaksCSS);
	}

});
@@ -581,16 +581,22 @@
 les%0Avar 
+GBUIT_
 VERSION 
@@ -627,16 +627,22 @@
 ion%0Avar 
+GBUIT_
 EDGECSS 
@@ -647,12 +647,11 @@
 S = 
-fals
+tru
 e; /
@@ -688,72 +688,35 @@
 SS%0A%0A
-// comment to enable console logging%0Aconsole.log = function() %7B%7D
+console.log(%22GBUIT: INIT%22);
 %0A%0A%0A%0A
@@ -906,15 +906,70 @@
 th =
+=
  0 ) %7B%0A
+%09%09console.log(%22GBUIT: No uber found, continuing...%22);%0A
 %09%09//
@@ -984,16 +984,22 @@
 %0A%09%09if ( 
+GBUIT_
 EDGECSS 
@@ -1010,16 +1010,63 @@
 rue ) %7B%0A
+%09%09%09console.warn(%22GBUIT: EdgeCSS is enabled!%22);%0A
 %09%09%09var g
@@ -1349,13 +1349,78 @@
 CSS);%0A%09%7D
+ else %7B%0A%09%09console.warn(%22GBUIT: Uber found, aborting tweaks!%22);%0A%09%7D
 %0A%0A%7D);

fix uberstyle detection and minor tweaks to code