Last active
August 2, 2016 22:54
-
-
Save adaliabooks/40e153bd4f05e9aea22e0063e0b6417b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Account Bar Fix | |
// @namespace https://gist.github.com/adaliabooks/ | |
// @version 1.0 | |
// @description Fixes the account bar (this time) | |
// @author adaliabooks | |
// @updateURL https://gist.github.com/adaliabooks/40e153bd4f05e9aea22e0063e0b6417b/raw/ | |
// @downloadURL https://gist.github.com/adaliabooks/40e153bd4f05e9aea22e0063e0b6417b/raw/ | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js | |
// @grant unsafewindow | |
// @include http://www.gog.com/forum/* | |
// @include https://www.gog.com/forum/* | |
// @include http://www.gog.com/support/* | |
// @include https://www.gog.com/support/* | |
// ==/UserScript== | |
function waitForAngular() | |
{ | |
if(typeof unsafeWindow.angular !== "undefined"){ | |
unsafeWindow.angular.module("reduxModule", []); | |
} | |
else{ | |
setTimeout(function(){ | |
waitForAngular(); | |
},100); | |
} | |
} | |
waitForAngular(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment