From 762a6919e7cd578fe392e744e589ae493d7c47d0 Mon Sep 17 00:00:00 2001 From: Aktanusa Date: Mon, 8 Feb 2016 19:25:32 -0500 Subject: [PATCH] Updated README to reflect the same thing as the Wikia --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 8a24a61..00cbd84 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,14 @@ javascript: (function () { If (for some reason) the above doesn't work, trying pasting everything after the javascript: bit into your browser's console. +For beta, use the following instead: + +```javascript +javascript: (function () { + Game.LoadMod('http://aktanusa.github.io/CookieMonster/CookieMonsterBeta.js'); +}()); +``` + ## Userscript If you'd rather use the addon as a script via per example *Greasemonkey* or *Tampermonkey*, you can use the following script, which will automatically load *Cookie Monster* every time the original game loads. You may need to specify http://orteil.dashnet.org/cookieclicker/ when asked for a *namespace* or *includes*. For how to add an userscript to your browser, refer to your browser/plugin's documentation as the method changes for each one. @@ -82,6 +90,26 @@ javascript:(function() { }, 1000); }()); ``` +If you are using cookie clicker beta use this instead: + +```javascript +// ==UserScript== +// @name Cookie Monster Beta +// @namespace Cookie +// @include http://orteil.dashnet.org/cookieclicker/beta/ +// @version 1 +// @grant none +// ==/UserScript== + +javascript:(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