From 2a67bc1b61a2ab8e194f27a8c90d355faf39fe6e Mon Sep 17 00:00:00 2001 From: Aktanusa Date: Mon, 25 Apr 2016 22:13:35 -0400 Subject: [PATCH] Copied Wikia changes --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ac082cb..102d446 100644 --- a/README.md +++ b/README.md @@ -81,14 +81,14 @@ If you'd rather use the addon as a script via per example *Greasemonkey* or *Tam // @grant none // ==/UserScript== -javascript:(function() { +(function() { var checkReady = setInterval(function() { if (typeof Game.ready !== 'undefined' && Game.ready) { Game.LoadMod('http://aktanusa.github.io/CookieMonster/CookieMonster.js'); clearInterval(checkReady); } }, 1000); -}()); +})(); ``` If you are using the beta, use this instead: @@ -101,14 +101,14 @@ If you are using the beta, use this instead: // @grant none // ==/UserScript== -javascript:(function() { +(function() { var checkReady = setInterval(function() { if (typeof Game.ready !== 'undefined' && Game.ready) { Game.LoadMod('http://aktanusa.github.io/CookieMonster/CookieMonsterBeta.js'); clearInterval(checkReady); } }, 1000); -}()); +})(); ``` # Bugs and suggestions