Fixed compatibility.
This commit is contained in:
Alex Trix 2019-10-31 09:55:52 -04:00 committed by GitHub
parent b9bea7c650
commit dc6d7698de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ body::-moz-selection{background:transparent;}
{
width:128px;
height:128px;
background:url(../experiments/cookie/cookie.png);
background:url(../cookie/cookie.png);
position:absolute;
left:-64px;
cursor:pointer;
@ -62,7 +62,7 @@ body::-moz-selection{background:transparent;}
width:32px;
height:32px;
position:absolute;
background:url(../experiments/cookie/cursor.png);
background:url(../cookie/cursor.png);
}
#pops
{
@ -130,7 +130,7 @@ body::-moz-selection{background:transparent;}
}
#money
{
background:url(../experiments/cookie/currency.png) no-repeat;
background:url(../cookie/currency.png) no-repeat;
background-color:#fff;
background-color:rgba(255,255,255,0.75);
border-radius:18px;
@ -188,7 +188,7 @@ body::-moz-selection{background:transparent;}
#updateLog b {color:#000;}
moni
{
background:url(../experiments/cookie/currencysmall.png) no-repeat;
background:url(../cookie/currencysmall.png) no-repeat;
width:16px;
height:16px;
display:inline-block;
@ -205,17 +205,17 @@ moni
.grandma
{
position:absolute;
background:url(../experiments/cookie/grandma.png);
background:url(../cookie/grandma.png);
width:24px;
height:48px;
}
.goldengrandma{background:url(golden../experiments/cookie/grandma.png);}
.factorygrandma{background:url(factory../experiments/cookie/grandma.png);}
.minegrandma{background:url(mine../experiments/cookie/grandma.png);}
.shipmentgrandma{background:url(shipment../experiments/cookie/grandma.png);}
.portalgrandma{background:url(portal../experiments/cookie/grandma.png);}
.pledgedgrandma{background:url(pledged../experiments/cookie/grandma.png);}
.timegrandma{background:url(time../experiments/cookie/grandma.png);}
.goldengrandma{background:url(golden../cookie/grandma.png);}
.factorygrandma{background:url(factory../cookie/grandma.png);}
.minegrandma{background:url(mine../cookie/grandma.png);}
.shipmentgrandma{background:url(shipment../cookie/grandma.png);}
.portalgrandma{background:url(portal../cookie/grandma.png);}
.pledgedgrandma{background:url(pledged../cookie/grandma.png);}
.timegrandma{background:url(time../cookie/grandma.png);}
#factories
{
position:absolute;
@ -225,7 +225,7 @@ moni
.factory
{
position:absolute;
background:url(../experiments/cookie/factory.png);
background:url(../cookie/factory.png);
width:32px;
height:48px;
}
@ -239,7 +239,7 @@ moni
.mine
{
position:absolute;
background:url(../experiments/cookie/mine.png);
background:url(../cookie/mine.png);
width:32px;
height:32px;
}
@ -253,7 +253,7 @@ moni
.shipment
{
position:absolute;
background:url(../experiments/cookie/shipment.png);
background:url(../cookie/shipment.png);
width:48px;
height:48px;
}
@ -267,7 +267,7 @@ moni
.lab
{
position:absolute;
background:url(../experiments/cookie/lab.png);
background:url(../cookie/lab.png);
width:24px;
height:32px;
}
@ -281,7 +281,7 @@ moni
.portal
{
position:absolute;
background:url(../experiments/cookie/portal.png);
background:url(../cookie/portal.png);
width:48px;
height:48px;
}
@ -295,7 +295,7 @@ moni
.time
{
position:absolute;
background:url(../experiments/cookie/timemachine.png);
background:url(../cookie/timemachine.png);
width:48px;
height:48px;
}
@ -365,7 +365,7 @@ a {color:#fff;}
height:20px;
}
</style>
<script src="../experiments/cookie/ajax.js"></script>
<script src="../cookie/ajax.js"></script>
<link rel="shortcut icon" href="favicon.ico" />
</head>
<body id="whole">
@ -918,7 +918,7 @@ Main=function()
else if (Math.random()<0.02) icon='grandmaiconlustful';
}
if (Cookies>=10000000 && Math.random()<0.02) icon='skellington';
if (Cookies>=1000000000) l('whole').style.background='url(kalei../experiments/cookie/grandma.png) '+Math.floor(T*0.2)+'px -'+Math.floor(T*0.1)+'px';
if (Cookies>=1000000000) l('whole').style.background='url(kalei../cookie/grandma.png) '+Math.floor(T*0.2)+'px -'+Math.floor(T*0.1)+'px';
else if (Math.random()<r)
{
l('whole').style.background='url('+icon+'.png) '+Math.floor(Math.random()*4)+'px '+Math.floor(Math.random()*4)+'px';
@ -937,4 +937,4 @@ Main=function()
Load();
</script>
</body>
</html>
</html>