mirror of
https://github.com/MrEidam/bigredbutton.git
synced 2026-04-17 15:43:31 +00:00
Version 41.0.0.1 - Ads
This commit is contained in:
1
img/help.svg
Normal file
1
img/help.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M256 80a176 176 0 10176 176A176 176 0 00256 80z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/><path d="M200 202.29s.84-17.5 19.57-32.57C230.68 160.77 244 158.18 256 158c10.93-.14 20.69 1.67 26.53 4.45 10 4.76 29.47 16.38 29.47 41.09 0 26-17 37.81-36.37 50.8S251 281.43 251 296" fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="28"/><circle cx="250" cy="348" r="20"/></svg>
|
||||
|
After Width: | Height: | Size: 535 B |
1
img/info.svg
Normal file
1
img/info.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 11-26 26 26 26 0 0126-26zm48 226h-88a16 16 0 010-32h28v-88h-16a16 16 0 010-32h32a16 16 0 0116 16v104h28a16 16 0 010 32z"/></svg>
|
||||
|
After Width: | Height: | Size: 317 B |
10
index.html
10
index.html
@@ -11,7 +11,7 @@
|
||||
<meta property="og:title" content="BRB">
|
||||
<meta property="og:description" content="Clicker hra s červeným tlačítkem a zvířátky!">
|
||||
<meta property="og:image" content="https://raw.githubusercontent.com/MrEidam/bigredbutton/main/img/brb-still.png">
|
||||
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9310992147638822" crossorigin="anonymous"></script>
|
||||
<script src="https://kit.fontawesome.com/21ea186610.js" crossorigin="anonymous"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
|
||||
<title>BRB - Clicking</title>
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
<body id="body">
|
||||
<div id="tycoon"></div>
|
||||
|
||||
<!-- Clicks -->
|
||||
<div id="logclick">
|
||||
<p id="disclick">
|
||||
@@ -42,14 +43,15 @@
|
||||
<ul>
|
||||
<li><a href="./" id="brb">BRB</a></li>
|
||||
<li><a href="shop.html" id="shop"></a></li>
|
||||
<li><a href="upgrade.html" id="upg">Upgrades</a></li>
|
||||
<li><a href="upgrade.html" id="upg"></a></li>
|
||||
<li><a href="settings.html" id="sett"></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- YouTube -->
|
||||
<div id="yt" class="Yt" style="position:absolute;width:110px;height:40px;overflow:hidden;background:linear-gradient(#d44,#722);border:none;border-radius:1rem;filter:drop-shadow(10px 8px 6px #333);">
|
||||
<img style="position:absolute;width:100%;height:100%;" src="./img/YT.png" title="Můj YT kanál">
|
||||
<a style="position:absolute;width:100%;height:100%;" href="https://www.youtube.com/@mreidam" title="Můj YouTube kanál" target="_blank"></a>
|
||||
<img style="width:100%;height:100%;" src="./img/YT.png" title="Můj YT kanál">
|
||||
<a style="width:100%;height:100%;" href="https://www.youtube.com/@mreidam" title="Můj YouTube kanál" target="_blank"></a>
|
||||
</div>
|
||||
|
||||
<!-- Project -->
|
||||
|
||||
41
js/main.js
41
js/main.js
@@ -110,34 +110,6 @@ function cash(){
|
||||
}
|
||||
|
||||
// Languages Cz || Uk
|
||||
function language(){
|
||||
if(items.lang == 0){ /* CZ */
|
||||
items.lang = 1;
|
||||
console.log(items.lang);
|
||||
document.documentElement.setAttribute('lang', 'cz');
|
||||
shop.innerHTML = 'Obchod';
|
||||
upg.innerHTML = 'Vylepšení';
|
||||
sett.innerHTML = 'Nastavení';
|
||||
del.innerHTML = 'Reset';
|
||||
sos.innerHTML = 'Pomoc';
|
||||
modes.innerHTML = 'Změn do Temného módu';
|
||||
langs.innerHTML = 'Switch into English';
|
||||
|
||||
}else if(items.lang == 1){ /* UK */
|
||||
items.lang = 0;
|
||||
console.log(items.lang);
|
||||
document.documentElement.setAttribute('lang', 'en');
|
||||
shop.innerHTML = 'Shop';
|
||||
upg.innerHTML = 'Upgrades';
|
||||
sett.innerHTML = 'Settings';
|
||||
del.innerHTML = 'Reset';
|
||||
sos.innerHTML = 'Help';
|
||||
modes.innerHTML = 'Switch into Dark Mode';
|
||||
langs.innerHTML = 'Změň si jazyk do Češtiny';
|
||||
}
|
||||
upload();
|
||||
}
|
||||
|
||||
function checklang(){
|
||||
if(items.lang == 0){ /* CZ */
|
||||
document.documentElement.setAttribute('lang', 'cz');
|
||||
@@ -149,9 +121,9 @@ function checklang(){
|
||||
shop.innerHTML = 'Shop';
|
||||
upg.innerHTML = 'Upgrades';
|
||||
sett.innerHTML = 'Settings';
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Dark || Light Mode
|
||||
function LDmodes(){
|
||||
if((items.mode||0) == 0){// Light Mode
|
||||
@@ -170,7 +142,6 @@ function LDmodes(){
|
||||
upload();
|
||||
}
|
||||
|
||||
|
||||
// Function to convert a number into a more readable format
|
||||
function fornum(num) {
|
||||
// Define the suffixes for thousands and millions
|
||||
@@ -184,4 +155,10 @@ function fornum(num) {
|
||||
}
|
||||
num = Math.floor(num * 10) / 10;
|
||||
return num + suffixes[i];
|
||||
}
|
||||
}
|
||||
|
||||
addEventListener("keydown", (event) => {
|
||||
if(event.key == ' ' || event.key == 'Enter'){
|
||||
clicking();
|
||||
}
|
||||
})
|
||||
@@ -5,6 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<script src="https://kit.fontawesome.com/21ea186610.js" crossorigin="anonymous"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9310992147638822" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="./css/sett.css">
|
||||
<link rel="shortcut icon" href="./img/settings.svg" type="image/x-icon">
|
||||
<title>BRB - Settings</title>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script src="https://kit.fontawesome.com/21ea186610.js" crossorigin="anonymous"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
|
||||
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9310992147638822" crossorigin="anonymous"></script>
|
||||
<title>BRB - Shop</title>
|
||||
|
||||
<!-- By MrEidam & Standa Chlup -->
|
||||
|
||||
19
upgrade.html
19
upgrade.html
@@ -14,17 +14,14 @@
|
||||
</head>
|
||||
|
||||
<body id="body">
|
||||
<!-- BRB -->
|
||||
<header>
|
||||
<!-- lemons -->
|
||||
<section class="joe" id="jonathan">
|
||||
<div id="loglm">
|
||||
<img src="./img/lemon.svg" id="imglm" draggable="false">
|
||||
<p id="dislm"></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</header>
|
||||
<!-- lemons -->
|
||||
<section class="joe" id="jonathan">
|
||||
<div id="loglm">
|
||||
<img src="./img/lemon.svg" id="imglm" draggable="false">
|
||||
<p id="dislm"></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<main style="margin-top: 210px;">
|
||||
<!-- Example -->
|
||||
<div class="item">
|
||||
|
||||
Reference in New Issue
Block a user