Fixed userscript section on README
This commit is contained in:
11
README.md
11
README.md
@@ -73,9 +73,14 @@ If you'd rather use the addon as a script via per example *Greasemonkey* or *Tam
|
|||||||
// @grant none
|
// @grant none
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
(function () {
|
javascript:(function() {
|
||||||
Game.LoadMod('http://aktanusa.github.io/CookieMonster/CookieMonster.js');
|
var checkReady = setInterval(function() {
|
||||||
}());
|
if (Game.ready != undefined && Game.ready) {
|
||||||
|
Game.LoadMod('http://aktanusa.github.io/CookieMonster/CookieMonster.js');
|
||||||
|
clearInterval(checkReady);
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}());</pre>
|
||||||
```
|
```
|
||||||
|
|
||||||
# Bugs and suggestions
|
# Bugs and suggestions
|
||||||
|
|||||||
Reference in New Issue
Block a user