forked from Sushi8756/Cookie-Clicker-2.031
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
329 lines (296 loc) · 16.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
window.cookieconsent_options = {"message":"Unsurprisingly, this website uses cookies for ads and traffic analysis.","dismiss":"Got it!","learnMore":"Learn more","link":"//orteil.dashnet.org/cookieconsentpolicy.html","target":"_blank","theme":"//orteil.dashnet.org/cookieconsent.css","domain":"dashnet.org"};
</script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>
<title>Cookie Clicker</title>
<!--
Code and graphics copyright Orteil, 2013-2021
Feel free to alter this code to your liking, but please do not re-host it, do not profit from it and do not present it as your own.
-->
<meta name="viewport" content="width=900, initial-scale=1">
<link rel="shortcut icon" href="img/favicon.ico" />
<!--<link href="https://fonts.googleapis.com/css?family=Kavoon&subset=latin,latin-ext" rel="stylesheet" type="text/css">-->
<link href='https://fonts.googleapis.com/css?family=Merriweather:900&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<script src="showads.js"></script><!-- this just detects adblockers so we can adjust the layout and play nice -->
<script src="base64.js"></script>
<script src="main.js?v=2.091"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-8491708950677704",
enable_page_level_ads: true
});
</script>
<link href="style.css?v=2.053" rel="stylesheet" type="text/css">
<!--[if IE]>
<style type="text/css">
#ifIE9{display:block;}
</style>
<![endif]-->
<!--[if lt IE9]><script src="excanvas.compiled.js"></script><![endif]-->
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '357399801355203');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=357399801355203&ev=PageView&noscript=1"></noscript>
<!-- end code -->
</head>
<body>
<div id="wrapper">
<div id="topBar">
<div><b>Cookie Clicker</b>™ © <a href="//orteil.dashnet.org" target="_blank" id="topbarOrteil">Orteil</a>, 2021 - <a href="//dashnet.org" target="_blank" id="topbarDashnet">DashNet</a></div>
<div><a href="https://twitter.com/orteil42" target="_blank" id="topbarTwitter">twitter</a></div>
<div><a href="https://orteil42.tumblr.com" target="_blank" id="topbarTumblr">tumblr</a></div>
<div style="position:relative;"><div style="width:22px;height:32px;background:url(img/discord.png);position:absolute;left:0px;top:0px;pointer-events:none;"></div><a href="https://discordapp.com/invite/cookie" target="_blank" style="padding-left:16px;" id="topbarDiscord">Discord</a></div>
<div style="position:relative;"><div style="width:25px;height:32px;background:url(img/weeHoodie.png);position:absolute;left:-2px;top:0px;pointer-events:none;"></div><a class="blueLink" href="http://www.redbubble.com/people/dashnet" target="_blank" style="padding-left:12px;" id="topbarMerch">Merch!</a></div>
<div style="position:relative;"><div style="width:22px;height:32px;background:url(img/patreon.png);position:absolute;left:0px;top:0px;pointer-events:none;"></div><a class="orangeLink" href="https://www.patreon.com/dashnet" target="_blank" style="padding-left:16px;" id="topbarPatreon">Patreon</a></div>
<div style="position:relative;display:none;font-weight:bold;" id="heralds"><div style="position:absolute;top:-4px;width:31px;height:39px;background:url(img/heraldFlag.png);left:50%;margin-left:-15px;pointer-events:none;"></div><div id="heraldsAmount" style="position:relative;z-index:10;text-shadow:0px 1px 0px #000,0px 0px 6px #ff00e4;color:#fff;">-</div></div>
<div><a class="lightblueLink" style="font-weight:bold;" href="https://play.google.com/store/apps/details?id=org.dashnet.cookieclicker" target="_blank" id="topbarMobileCC">Cookie Clicker for Android</a></div>
<div><a class="lightblueLink" style="font-weight:bold;" href="https://store.steampowered.com/app/1454400/Cookie_Clicker/" target="_blank" id="topbarSteamCC">Cookie Clicker on Steam</a></div>
<div><a href="http://Sushi8756.github.io/Cookie-Clicker-Guide/" target="_blank" id="topbarRandomgen">Guide</a></div>
<div><a class="purplelink" href="https://www.youtube.com/channel/UCP99woj07psKFyMQN56zMdg" target="_blank" id="topbarIGM">Sushi8756</a></div>
<div style="position:relative;"><div style="width:26px;height:31px;background:url(img/update.png);position:absolute;left:0px;top:0px;pointer-events:none;"></div><a href="https://github.com/Sushi8756/Cookie-Clicker-2.031" target="_blank" style="padding-left:-3px;" id="topbarUpdate">█</a></div>
<div id="links" class="hoverer">
Other versions
<div class="hoverable">
<!-- This one doesnt show for some reason :/ --> <a href="https://wackube.github.io/Cookie_Clicker/" target="_blank" id="linkVersionLive">v. 2.031</a>
<a href="https://orteil.dashnet.org/cookieclicker/" target="_blank">Official Site</a>
<a href="https://wackube.github.io/Cookie_Clicker/" target="_blank" id="linkVersionBeta">v. 2.031 site 1</a>
<a href="http://ozh.github.io/cookieclicker/" target="_blank">v. 2.031 site 2</a>
<a href="https://funneljai212.github.io/cookie-clicker-source-code-1/" target="_blank">v. 2.031 site 3</a>
<a href="https://xenogames224.github.io/cookieclickerxeno/" target="_blank" id="linkVersionOld">v. 2.022</a>
<a href="https://trixter9994.github.io/Cookie-Clicker-Source-Code/" target="_blank">v. 2.021 beta site 1</a>
<a href="https://3kh0.github.io/cookie-clicker/" target="_blank">v. 2.021 beta site 2</a>
<a href="https://wolfy01.github.io/Cookie-Clicker/" target="_blank">v. 2.0042</a>
<a href="https://eli-schwartz.github.io/cookieclicker/" target="_blank">v. 1.0411</a>
<!-- <a href="LINK" target="_blank">NAME</a> -->
</div>
</div>
<div style="
display: block;
position: absolute;
right: 99px;
top: 0px;
z-index: 10000000;
float: none;
" class="hoverer">
Mods/Addons
<div class="hoverable">
<a href="javascript: (function () {Game.LoadMod('https://cookiemonsterteam.github.io/CookieMonster/dist/CookieMonster.js');}());" id="linkVersionBeta">Cookie Monster</a>
<a href="javascript: (function () {Game.LoadMod('https://klattmose.github.io/CookieClicker/KlattmoseUtilities.js?v=2.16');}());" id="linkVersionOld">Klattmose's Utilities</a>
<a href="addons.html" target="_blank">More Addons</a>
</div>
</div>
</div>
<div id="game">
<div id="javascriptError">
<div id="loader">
<div class="spinnyBig"></div>
<div class="spinnySmall"></div>
<div id="loading" class="title">It Loading...</div>
<div id="failedToLoad" class="title">This is taking too much long.<br>
<div style="font-size:65%;line-height:120%;">Slow connection? If not, please make sure your javascript is enabled, then refresh.<br>
If problems persist, this might be on our side - wait a few minutes, then hit ctrl+f5!</div></div>
<div id="ifIE9" class="title" style="font-size:100%;line-height:120%;">Your browser may not be recent enough to run Cookie Clicker.<br>You might want to update, or switch to a more modern browser such as Chrome or Firefox.</div>
<!--<div class="title">Oops, looks like we've got a problem.</div>
<div>Please bear with us while we fix it.<br>Your save is safe, don't worry!</div>-->
</div>
</div>
<canvas id="backgroundCanvas"></canvas>
<div id="goldenCookie" class="goldenCookie"></div>
<div id="seasonPopup" class="seasonPopup"></div>
<div id="shimmers"></div>
<div id="alert"></div>
<div id="particles"></div>
<div id="sparkles" class="sparkles"></div>
<div id="notes"></div>
<div id="darken"></div>
<div id="toggleBox" class="framed prompt"></div>
<div id="promptAnchor"><div id="prompt" class="framed"><div id="promptContent"></div><div class="close" onclick="PlaySound('snd/tick.mp3');Game.ClosePrompt();">x</div></div></div>
<div id="versionNumber" class="title"></div>
<div id="ascend">
<div id="ascendBG"></div>
<div id="ascendZoomable"><div id="ascendContent"><div id="ascendUpgrades" style="position:absolute;"></div></div></div>
<div id="ascendOverlay"></div>
</div>
<div id="debug"><div id="devConsole" class="framed"></div><div id="debugLog"></div></div>
<div id="sectionLeft" class="inset">
<canvas id="backgroundLeftCanvas" style="z-index:5;"></canvas>
<div class="blackFiller"></div>
<div class="blackGradient"></div>
<div id="sectionLeftInfo"></div>
<div id="cookies" class="title"></div>
<div id="bakeryNameAnchor"><div id="bakeryName" class="title"></div></div>
<div id="specialPopup" class="framed prompt offScreen"></div>
<div id="buffs" class="crateBox"></div>
<div id="cookieAnchor">
<div id="bigCookie"></div>
<div id="cookieNumbers"></div>
</div>
<div id="sectionLeftExtra"></div>
</div>
<div class="separatorLeft"></div>
<div class="separatorRight"></div>
<div id="sectionMiddle" class="inset">
<div id="comments" class="inset title">
<div id="prefsButton" class="button">Options</div>
<div id="statsButton" class="button">Stats</div>
<div id="logButton" class="button"><div id="checkForUpdate">New update!</div>Info</div>
<div id="legacyButton" class="button">Legacy<div id="ascendMeterContainer" class="smallFramed meterContainer"><div id="ascendMeter" class="meter filling"></div></div><div class="roundedPanel" id="ascendNumber"></div><div id="ascendTooltip" class="framed"></div></div>
<div id="commentsTextBelow" class="commentsText"></div>
<div id="commentsText" class="commentsText"></div>
<div class="separatorBottom"></div>
</div>
<div id="centerArea">
<div id="buildingsTitle" class="inset title zoneTitle">Buildings</div>
<div id="buildingsMaster"></div>
<div id="rows"></div>
<div id="menu"></div>
<!--
<div id="donateBox">
<form target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post" id="donate" style="margin:0px 16px;">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="BBN2WL3TC6QH4">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/nl_NL/i/scr/pixel.gif" width="1" height="1">
</form>
<small>Help us keep developing the game!</small>
</div>
-->
</div>
</div>
<div id="sectionRight" class="inset">
<!-- <audio autoplay loop id="audio1">
<source src="frogMenu.mp3">
Your browser does not support the audio element.
</audio>
<audio autoplay loop id="audio2">
<source src="beach.mp3">
Your browser does not support the audio element.
</audio>
<button onclick="setHalfVolume()" type="button">0.2</button>
<button onclick="setFullVolume()" type="button">1.0</button>
<script>
function ee(){
var random= Math.floor(Math.random() * 9) + 0;
var audios = ["audio1", "audio2"]
var audio = document.getElementbyId(audios[random]);
audio.volume = 1;
}
function randomMusic() {
var random= Math.floor(Math.random() * 2) + 0;
var eee = ["beach.mp3", "frogMenu.mp3"]
const music = new Audio(eee[random]);
music.play();
music.loop =false;
music.playbackRate = 1;
}
function getVolume() {
alert(audio.volume);
}
function setHalfVolume() {
audio.volume = 0.2;
}
function setFullVolume() {
audio.volume = 1.0;
}
</script>
-->
<div style="width:300px;text-align:center;padding:8px 0px;background:rgba(0,0,0,0.95);font-size:15px;opacity:0.5;text-shadow:0px 0px 2px #000,0px 1px 0px #000;text-align:center;">
Version 1.0.0
</div>
<div class="ifNoAds" style="width:300px;text-align:center;padding:8px 0px;background:rgba(0,0,0,0.95);font-size:10px;opacity:0.5;text-shadow:0px 0px 2px #000,0px 1px 0px #000;text-align:center;">
Cookie Clicker is mainly supported by ads.<br>Consider unblocking our site or checking out our <a href="https://www.patreon.com/dashnet" target="_blank">Patreon</a>!
</div>
<div id="smallSupport" style="width:300px;text-align:center;padding-bottom:40px;background:rgba(0,0,0,0.5);position:relative;z-index:100;">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Cookie Clicker Header Responsive -->
<!--<ins class="adsbygoogle"
style="display:block;margin:auto;width:300px;max-height:300px;overflow:hidden;"
data-ad-client="ca-pub-8491708950677704"
data-ad-slot="7077525342"
data-ad-format="rectangle"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<div class="supportComment">^ Sponsored link ^</div>-->
</div>
<div id="store">
<div id="storeTitle" class="inset title zoneTitle">Store</div>
<div id="toggleUpgrades" class="storeSection upgradeBox"></div>
<div id="techUpgrades" class="storeSection upgradeBox"></div>
<div id="vaultUpgrades" class="storeSection upgradeBox"></div>
<div id="upgrades" class="storeSection upgradeBox"></div>
<div id="products" class="storeSection"></div>
</div>
<div id="detectAds" class="adBanner" style="background:transparent;width:1px;height:1px;"></div>
<div id="support" style="margin-top:130px;">
<!-- <div class="supportComment">v Sponsored links v</div> -->
<div style="position:relative;">
<script>
function loadMod() {
/* Get the text field */
var copyText = document.getElementById("modLoader");
/* Select the text field */
copyText.select();
copyText.setSelectionRange(0, 99999); /* For mobile devices */
/* Sends you to the link */
window.location.href = copyText.value;
}
</script>
<!-- The button used to copy the text -->
<button onclick="loadMod()">Load</button>
<!-- The text field -->
<input style="position= absolute;" type="text" value="" id="modLoader">
<!-- The text field -->
<br>
<div style="width:300px;text-align:center;padding:8px 0px;background:rgba(0,0,0,0);font-size:15px;opacity:0.5;text-shadow:0px 0px 2px #000,0px 1px 0px #000;text-align:center;">
Paste a bookmark addon into here<br>and press the button to load the mod.<br>DONT DO A LINK! Or you will leave the site.
</div>
<div style="position:relative;z-index:100;min-height:250px;">
<!-- <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
Cookie Clicker Responsive
<ins class="adsbygoogle"
style="display:block;margin:auto;"
data-ad-client="ca-pub-8491708950677704"
data-ad-slot="9780186019"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<div style="height:16px;"></div>
AdventureQuest Worlds banner
<a class="ad" id="aqad" href="http://www.aq.com/landing/cookie/?utm_campaign=AQW_CookieClicker&utm_source=CookieClicker" target="_blank" title="AdventureQuest Worlds" style="background:url(img/aqworldsbanner.jpg) no-repeat;width:300px;height:64px;display:block;position:relative;margin:0px auto;">
</a> -->
</div>
</div>
</div>
</div>
<div id="focusButtons">
<div id="focusLeft" class="title">Cookie</div>
<div id="focusMiddle" class="title" style="font-size:80%;padding-top:18px;padding-bottom:14px;">Buildings</div>
<div id="focusRight" class="title">Store</div>
<div id="focusMenu" class="title">Menu</div>
</div>
<div id="compactOverlay" class="title">
<div id="compactCommentsText" class="commentsText"></div>
<div id="compactCookies"></div>
<div class="separatorBottom"></div>
</div>
<div id="tooltipAnchor"><div id="tooltip" class="framed" onMouseOut="Game.tooltip.hide();"></div></div>
</div>
</div>
</body>
</html>