Skip to content

Commit 762a691

Browse files
committed
Updated README to reflect the same thing as the Wikia
1 parent 77ba8c4 commit 762a691

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ javascript: (function () {
6060

6161
If (for some reason) the above doesn't work, trying pasting everything after the <code>javascript:</code> bit into your browser's console.
6262

63+
For beta, use the following instead:
64+
65+
```javascript
66+
javascript: (function () {
67+
Game.LoadMod('http://aktanusa.github.io/CookieMonster/CookieMonsterBeta.js');
68+
}());
69+
```
70+
6371
## Userscript
6472

6573
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 <code>http://orteil.dashnet.org/cookieclicker/</code> 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() {
8290
}, 1000);
8391
}());
8492
```
93+
If you are using cookie clicker beta use this instead:
94+
95+
```javascript
96+
// ==UserScript==
97+
// @name Cookie Monster Beta
98+
// @namespace Cookie
99+
// @include http://orteil.dashnet.org/cookieclicker/beta/
100+
// @version 1
101+
// @grant none
102+
// ==/UserScript==
103+
104+
javascript:(function() {
105+
var checkReady = setInterval(function() {
106+
if (typeof Game.ready !== 'undefined' && Game.ready) {
107+
Game.LoadMod('http://aktanusa.github.io/CookieMonster/CookieMonsterBeta.js');
108+
clearInterval(checkReady);
109+
}
110+
}, 1000);
111+
}());
112+
```
85113

86114
# Bugs and suggestions
87115

0 commit comments

Comments
 (0)