mirror of
https://github.com/He4eT/BadBarSlots.git
synced 2026-05-04 16:07:22 +00:00
76 lines
1.9 KiB
HTML
76 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>BAD BAR Slots</title>
|
|
<link rel="stylesheet" href="css/style.css" type='text/css'>
|
|
</head>
|
|
<body>
|
|
<div class="wrap welcome">
|
|
<div class="description">
|
|
<div class="logo">
|
|
<img src="img/logo.svg" alt="">
|
|
</div>
|
|
</div>
|
|
<div class="settings">
|
|
<textarea name="" class="data" cols="20" rows="20" autofocus="">{"number":
|
|
|
|
3
|
|
|
|
,"items": [
|
|
|
|
"Водка",
|
|
"Сопли",
|
|
"Пусиджус",
|
|
|
|
"Ничего"]}</textarea>
|
|
<div class="start">
|
|
Поехали!
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<form action="slots.html" method="get">
|
|
<input type="hidden" name='params' class="params">
|
|
</form>
|
|
<script src="js/jquery.min.js"></script>
|
|
<script>
|
|
$(".start").on('click', () => {
|
|
try {
|
|
let data = JSON.parse($(".data").val())
|
|
let params = encodeURIComponent(JSON.stringify(data))
|
|
$('.params').val(params)
|
|
$('form').submit()
|
|
} catch (e) {
|
|
alert(e)
|
|
}
|
|
})
|
|
</script>
|
|
<!-- Yandex.Metrika counter -->
|
|
<script type="text/javascript">
|
|
(function (d, w, c) {
|
|
(w[c] = w[c] || []).push(function() {
|
|
try {
|
|
w.yaCounter44648464 = new Ya.Metrika({
|
|
id:44648464,
|
|
clickmap:true,
|
|
trackLinks:true,
|
|
accurateTrackBounce:true,
|
|
webvisor:true
|
|
});
|
|
} catch(e) { }
|
|
});
|
|
var n = d.getElementsByTagName("script")[0],
|
|
s = d.createElement("script"),
|
|
f = function () { n.parentNode.insertBefore(s, n); };
|
|
s.type = "text/javascript";
|
|
s.async = true;
|
|
s.src = "https://mc.yandex.ru/metrika/watch.js";
|
|
if (w.opera == "[object Opera]") {
|
|
d.addEventListener("DOMContentLoaded", f, false);
|
|
} else { f(); }
|
|
})(document, window, "yandex_metrika_callbacks");
|
|
</script>
|
|
<noscript><div><img src="https://mc.yandex.ru/watch/44648464" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
|
<!-- /Yandex.Metrika counter -->
|
|
</body>
|
|
</html>
|