From 7a23770be016d581d87ba8d1cfafe7bad5eb3da4 Mon Sep 17 00:00:00 2001 From: Ozh Date: Sun, 24 Apr 2022 12:57:37 +0200 Subject: Update to 2.091 Fixes #46 --- README.md | 16 +- grab.txt | 1 + img/index.html | 514 ++++++++++++++++++++++++++++----------------------------- index.html | 484 ++++++++++++++++++++++++++--------------------------- list.txt | 1 + main.js | 2 +- showads.js | 3 + snd/index.html | 146 ++++++++-------- style.css | 9 +- 9 files changed, 594 insertions(+), 582 deletions(-) create mode 100644 grab.txt create mode 100644 showads.js diff --git a/README.md b/README.md index eabbe59..11ca397 100644 --- a/README.md +++ b/README.md @@ -12,27 +12,33 @@ If the original game updates, here is how you can update the mirror: #### 1. Fetch all new images : -from the `/img/` directory : +From the root, +* `cd img/` * `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/img/` -* `grep -v PARENTDIR index.html | grep -o '/img/*[a-zA-Z]*.*"' | sed 's/\/img\///' | sed 's/"//' >list.txt` +* `grep -v PARENTDIR index.html | grep -o '' | sed 's///' > list.txt` * `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/img/` #### 2. Fetch all new sounds : -Similarly, from the `/snd/` directory : +Similarly : +* `cd snd/` * `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/snd/` -* `grep -v PARENTDIR index.html | grep -o '/snd/*[a-zA-Z]*.*"' | sed 's/\/snd\///' | sed 's/"//' >list.txt` +* `grep -v PARENTDIR index.html | grep -o '' | sed 's///' > list.txt` * `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/snd/` #### 3. Update `js` and `html` files : From the root directory : +* Fetch the updated `index.html` file: `wget -O index.html http://orteil.dashnet.org/cookieclicker/` +* Fetch the updated `style.css` file: `wget -O style.css http://orteil.dashnet.org/cookieclicker/style.css` * Fetch updated `js` files : `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/` -* Fetch the updated `index.html` file * Scan `index.html` for any new ` - - - -Cookie Clicker - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
-
-
-
-
Loading...
-
This is taking longer than expected.
-
Slow connection? If not, please make sure your javascript is enabled, then refresh.
- If problems persist, this might be on our side - wait a few minutes, then hit ctrl+f5!
-
Your browser may not be recent enough to run Cookie Clicker.
You might want to update, or switch to a more modern browser such as Chrome or Firefox.
- -
-
- - - -
-
-
-
-
-
-
-
-
-
x
-
-
-
-
-
-
- -
- -
- -
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
Options
-
Stats
-
New update!
Info
-
Legacy
-
-
-
-
-
-
Buildings
-
-
- - -
-
- -
-
- Cookie Clicker is mainly supported by ads.
Consider unblocking our site or checking out our Patreon! -
-
- - - - - - -
^ Sponsored link ^
-
-
-
Store
-
-
-
-
-
-
- -
-
-
v Sponsored links v
-
- -
- - - - - - -
- - - - - -
- -
-
-
- -
-
Cookie
-
Buildings
-
Store
-
Menu
-
-
-
-
-
-
- -
- -
- -
- - - + + + + + + + +Cookie Clicker + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+
+
Loading...
+
This is taking longer than expected.
+
Slow connection? If not, please make sure your javascript is enabled, then refresh.
+ If problems persist, this might be on our side - wait a few minutes, then hit ctrl+f5!
+
Your browser may not be recent enough to run Cookie Clicker.
You might want to update, or switch to a more modern browser such as Chrome or Firefox.
+ +
+
+ + + +
+
+
+
+
+
+
+
+
+
x
+
+
+
+
+
+
+ +
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
Options
+
Stats
+
New update!
Info
+
Legacy
+
+
+
+
+
+
Buildings
+
+
+ + +
+
+ +
+
+ Cookie Clicker is mainly supported by ads.
Consider unblocking our site or checking out our Patreon! +
+
+ + + + + + +
^ Sponsored link ^
+
+
+
Store
+
+
+
+
+
+
+ +
+
+
v Sponsored links v
+
+ +
+ + + + + + +
+ + + + + +
+ +
+
+
+ +
+
Cookie
+
Buildings
+
Store
+
Menu
+
+
+
+
+
+
+ +
+ +
+ +
+ + + \ No newline at end of file diff --git a/list.txt b/list.txt index ee906e7..d713914 100644 --- a/list.txt +++ b/list.txt @@ -1,4 +1,5 @@ ajax.js +showads.js base64.js DungeonGen.js dungeons.js diff --git a/main.js b/main.js index afa5009..4ece6ee 100644 --- a/main.js +++ b/main.js @@ -1880,7 +1880,7 @@ Game.Launch=function() Game.GrabData=function() { - ajax('/patreon/grab.php',Game.GrabDataResponse); + ajax('grab.txt',Game.GrabDataResponse); } Game.GrabDataResponse=function(response) { diff --git a/showads.js b/showads.js new file mode 100644 index 0000000..197ec7d --- /dev/null +++ b/showads.js @@ -0,0 +1,3 @@ +//this lets us detect adblockers so we can adjust the layout in case ads aren't shown ! (we're not using this for anything weird, promise !) +//this works because an adblocker will usually block this file from being embedded at all +var showAds=true; \ No newline at end of file diff --git a/snd/index.html b/snd/index.html index 2150a2a..14c7cbd 100644 --- a/snd/index.html +++ b/snd/index.html @@ -5,78 +5,78 @@

Index of /cookieclicker/snd

-
Icon  Name                    Last modified      Size  Description
[PARENTDIR] Parent Directory - -[SND] buy1.mp3 2015-11-05 14:28 3.1K -[SND] buy2.mp3 2015-11-05 14:28 3.1K -[SND] buy3.mp3 2015-11-05 14:28 3.1K -[SND] buy4.mp3 2015-11-05 14:28 3.1K -[SND] buyHeavenly.mp3 2015-11-05 17:22 9.1K -[SND] cashIn.mp3 2020-05-16 01:22 8.9K -[SND] cashIn2.mp3 2020-05-16 19:26 8.4K -[SND] cashOut.mp3 2020-05-16 01:16 6.6K -[SND] charging.mp3 2015-12-20 15:56 34K -[SND] chime.mp3 2016-02-03 12:45 30K -[SND] choir.mp3 2015-11-03 19:55 32K -[SND] click1.mp3 2015-10-30 22:47 2.5K -[SND] click2.mp3 2015-10-30 22:47 2.5K -[SND] click3.mp3 2015-10-30 22:47 2.5K -[SND] click4.mp3 2015-10-30 22:57 2.5K -[SND] click5.mp3 2015-10-30 22:47 2.5K -[SND] click6.mp3 2015-10-30 22:57 2.5K -[SND] click7.mp3 2015-10-30 22:57 2.5K -[SND] clickOff.mp3 2015-11-02 07:04 3.1K -[SND] clickOn.mp3 2015-11-02 07:04 2.6K -[SND] clickb1.mp3 2016-02-03 18:56 1.1K -[SND] clickb2.mp3 2016-02-03 18:56 1.1K -[SND] clickb3.mp3 2016-02-03 18:56 1.1K -[SND] clickb4.mp3 2016-02-03 18:56 1.1K -[SND] clickb5.mp3 2016-02-03 18:56 1.1K -[SND] clickb6.mp3 2016-02-03 18:56 1.1K -[SND] clickb7.mp3 2016-02-03 18:56 1.1K -[SND] cookieBreak.mp3 2015-10-30 21:08 34K -[SND] cymbalCrash.mp3 2015-11-05 15:44 21K -[SND] cymbalRev.mp3 2015-11-05 16:09 25K -[SND] fortune.mp3 2019-09-23 14:07 20K -[SND] freezeGarden.mp3 2018-03-29 22:55 16K -[SND] growl.mp3 2020-06-14 23:36 3.7K -[SND] harvest1.mp3 2018-03-29 22:33 6.1K -[SND] harvest2.mp3 2018-03-29 22:33 6.1K -[SND] harvest3.mp3 2018-03-29 22:33 5.6K -[SND] jingle.mp3 2015-10-30 21:32 27K -[SND] jingleClick.mp3 2015-10-30 21:32 12K -[SND] levelPrestige.mp3 2015-12-17 02:03 7.1K -[SND] page.mp3 2015-10-30 09:53 5.1K -[SND] pop1.mp3 2015-11-02 08:09 3.1K -[SND] pop2.mp3 2015-11-02 08:09 3.1K -[SND] pop3.mp3 2015-11-02 08:09 3.1K -[SND] press.mp3 2015-10-30 09:37 3.6K -[SND] sell1.mp3 2015-11-05 14:32 3.1K -[SND] sell2.mp3 2015-11-05 14:32 3.1K -[SND] sell3.mp3 2015-11-05 14:32 3.1K -[SND] sell4.mp3 2015-11-05 14:32 3.1K -[SND] shimmerClick.mp3 2015-10-30 21:10 11K -[SND] smallCymbalCrash.mp3 2015-11-05 16:10 20K -[SND] smallTick.mp3 2015-11-02 07:09 2.1K -[SND] snarl.mp3 2020-06-14 23:15 5.9K -[SND] spell.mp3 2017-07-06 14:15 15K -[SND] spellFail.mp3 2017-07-06 14:29 9.8K -[SND] spirit.mp3 2017-07-06 14:16 11K -[SND] squish1.mp3 2015-11-02 07:58 7.6K -[SND] squish2.mp3 2015-11-02 07:58 7.1K -[SND] squish3.mp3 2015-11-02 07:58 8.1K -[SND] squish4.mp3 2015-11-02 07:58 5.6K -[SND] switch.mp3 2017-07-06 14:40 2.9K -[SND] swooshIn.mp3 2015-11-02 07:16 4.6K -[SND] swooshOut.mp3 2015-11-02 07:16 4.1K -[SND] thud.mp3 2015-12-20 15:42 19K -[SND] tick.mp3 2015-10-30 08:50 2.6K -[SND] till1.mp3 2018-03-29 22:10 5.6K -[SND] till2.mp3 2018-03-29 22:10 5.1K -[SND] till3.mp3 2018-03-29 22:10 5.6K -[SND] tillb1.mp3 2018-03-29 22:10 4.9K -[SND] tillb2.mp3 2018-03-29 22:10 5.1K -[SND] tillb3.mp3 2018-03-29 22:10 6.1K -[SND] toneTick.mp3 2018-03-29 22:43 3.6K -[SND] upgrade.mp3 2017-06-05 09:26 4.3K +
Icon  Name                    Last modified      Size  Description
[PARENTDIR] Parent Directory - +[SND] buy1.mp3 2015-11-05 14:28 3.1K +[SND] buy2.mp3 2015-11-05 14:28 3.1K +[SND] buy3.mp3 2015-11-05 14:28 3.1K +[SND] buy4.mp3 2015-11-05 14:28 3.1K +[SND] buyHeavenly.mp3 2015-11-05 17:22 9.1K +[SND] cashIn.mp3 2020-05-16 01:22 8.9K +[SND] cashIn2.mp3 2020-05-16 19:26 8.4K +[SND] cashOut.mp3 2020-05-16 01:16 6.6K +[SND] charging.mp3 2015-12-20 15:56 34K +[SND] chime.mp3 2016-02-03 12:45 30K +[SND] choir.mp3 2015-11-03 19:55 32K +[SND] click1.mp3 2015-10-30 22:47 2.5K +[SND] click2.mp3 2015-10-30 22:47 2.5K +[SND] click3.mp3 2015-10-30 22:47 2.5K +[SND] click4.mp3 2015-10-30 22:57 2.5K +[SND] click5.mp3 2015-10-30 22:47 2.5K +[SND] click6.mp3 2015-10-30 22:57 2.5K +[SND] click7.mp3 2015-10-30 22:57 2.5K +[SND] clickOff.mp3 2015-11-02 07:04 3.1K +[SND] clickOn.mp3 2015-11-02 07:04 2.6K +[SND] clickb1.mp3 2016-02-03 18:56 1.1K +[SND] clickb2.mp3 2016-02-03 18:56 1.1K +[SND] clickb3.mp3 2016-02-03 18:56 1.1K +[SND] clickb4.mp3 2016-02-03 18:56 1.1K +[SND] clickb5.mp3 2016-02-03 18:56 1.1K +[SND] clickb6.mp3 2016-02-03 18:56 1.1K +[SND] clickb7.mp3 2016-02-03 18:56 1.1K +[SND] cookieBreak.mp3 2015-10-30 21:08 34K +[SND] cymbalCrash.mp3 2015-11-05 15:44 21K +[SND] cymbalRev.mp3 2015-11-05 16:09 25K +[SND] fortune.mp3 2019-09-23 14:07 20K +[SND] freezeGarden.mp3 2018-03-29 22:55 16K +[SND] growl.mp3 2020-06-14 23:36 3.7K +[SND] harvest1.mp3 2018-03-29 22:33 6.1K +[SND] harvest2.mp3 2018-03-29 22:33 6.1K +[SND] harvest3.mp3 2018-03-29 22:33 5.6K +[SND] jingle.mp3 2015-10-30 21:32 27K +[SND] jingleClick.mp3 2015-10-30 21:32 12K +[SND] levelPrestige.mp3 2015-12-17 02:03 7.1K +[SND] page.mp3 2015-10-30 09:53 5.1K +[SND] pop1.mp3 2015-11-02 08:09 3.1K +[SND] pop2.mp3 2015-11-02 08:09 3.1K +[SND] pop3.mp3 2015-11-02 08:09 3.1K +[SND] press.mp3 2015-10-30 09:37 3.6K +[SND] sell1.mp3 2015-11-05 14:32 3.1K +[SND] sell2.mp3 2015-11-05 14:32 3.1K +[SND] sell3.mp3 2015-11-05 14:32 3.1K +[SND] sell4.mp3 2015-11-05 14:32 3.1K +[SND] shimmerClick.mp3 2015-10-30 21:10 11K +[SND] smallCymbalCrash.mp3 2015-11-05 16:10 20K +[SND] smallTick.mp3 2015-11-02 07:09 2.1K +[SND] snarl.mp3 2020-06-14 23:15 5.9K +[SND] spell.mp3 2017-07-06 14:15 15K +[SND] spellFail.mp3 2017-07-06 14:29 9.8K +[SND] spirit.mp3 2017-07-06 14:16 11K +[SND] squish1.mp3 2015-11-02 07:58 7.6K +[SND] squish2.mp3 2015-11-02 07:58 7.1K +[SND] squish3.mp3 2015-11-02 07:58 8.1K +[SND] squish4.mp3 2015-11-02 07:58 5.6K +[SND] switch.mp3 2017-07-06 14:40 2.9K +[SND] swooshIn.mp3 2015-11-02 07:16 4.6K +[SND] swooshOut.mp3 2015-11-02 07:16 4.1K +[SND] thud.mp3 2015-12-20 15:42 19K +[SND] tick.mp3 2015-10-30 08:50 2.6K +[SND] till1.mp3 2018-03-29 22:10 5.6K +[SND] till2.mp3 2018-03-29 22:10 5.1K +[SND] till3.mp3 2018-03-29 22:10 5.6K +[SND] tillb1.mp3 2018-03-29 22:10 4.9K +[SND] tillb2.mp3 2018-03-29 22:10 5.1K +[SND] tillb3.mp3 2018-03-29 22:10 6.1K +[SND] toneTick.mp3 2018-03-29 22:43 3.6K +[SND] upgrade.mp3 2017-06-05 09:26 4.3K
diff --git a/style.css b/style.css index 727511c..a29b3ce 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,4 @@ -/* reset CSS */ +/* reset CSS */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -829,6 +829,7 @@ input[type=range]:active::-ms-thumb,input[type=range]:hover::-ms-thumb {backgrou font-size:14px; font-family:Georgia; font-weight:bold; + margin-top:-2px; } .framed .close { @@ -2208,7 +2209,7 @@ from {background-position:0px 0px;} position:absolute; left:0px; top:0px; - background:url(img/buildings.png?v=4); + background:url(img/buildings.png?v=5); background-repeat:no-repeat; margin:0px; } @@ -2229,7 +2230,7 @@ from {background-position:0px 0px;} height:64px; left:0px; top:0px; - background:url(img/buildings.png?v=4); + background:url(img/buildings.png?v=5); background-repeat:no-repeat; margin:-16px; transform:scale(0.5); @@ -2270,7 +2271,7 @@ from {background-position:0px 0px;} { z-index:100; opacity:1; - background:url(img/buildings.png?v=4); + background:url(img/buildings.png?v=5); background-repeat:no-repeat; -webkit-transition: opacity 2s ease-out; -moz-transition: opacity 2s ease-out; -- cgit v1.2.3