-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
142 lines (130 loc) · 9.91 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.rawgit.com/zenorocha/clipboard.js/v2.0.10/dist/clipboard.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/js/iziToast.min.js" integrity="sha512-Zq9o+E00xhhR/7vJ49mxFNJ0KQw1E1TMWkPTxrWcnpfEFDEXgUiwJHIKit93EW/XxE31HSI5GEOW06G6BF1AtA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/css/iziToast.css" integrity="sha512-DIW4FkYTOxjCqRt7oS9BFO+nVOwDL4bzukDyDtMO7crjUZhwpyrWBFroq+IqRe6VnJkTpRAS6nhDvf0w+wHmxg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="icon" type="image/x-icon" href="https://github.com/jsalamander/BZCookieBear/raw/main/assets/favicon.ico">
<meta property="og:title" content="CookieBear - Free Swiss Media Logins">
<meta property="og:site_name" content="CookieBear">
<meta property="og:url" content="https://creds.bzcookie.fans/">
<meta property="og:description" content="Read many swiss media websites for free without paywall">
<meta property="og:type" content="website">
<meta property="og:image" content="https://github.com/jsalamander/BZCookieBear/raw/main/assets/og.png">
<style>
::selection {
background-color:rgb(255,198,125);
color:#5A2E2B;
}
</style>
</head>
<body>
<div class="min-h-screen bg-gray-100 flex flex-col justify-center sm:py-12">
<div class="p-10 xs:p-0 mx-auto md:w-full md:max-w-md">
<div class="flex justify-center flex-row mb-5">
<a href="https://github.com/jsalamander/BZCookieBear" target="_blank">
<img class="max-h-[6rem]" alt="CookieBear Logo" src="https://raw.githubusercontent.com/jsalamander/BZCookieBear/main/assets/cookie_bear_no_bg.png" />
</a>
</div>
<div class="flex justify-center flex-row mb-5">
<span class="text-[#5A2E2B] font-bold">Free Swiss Media Logins</span>
</div>
<div class="min-w-[20rem] mt-4 text-center mb-5">
<div class="text-sm text-gray-600 pb-1 block">Copy & Paste the credentials below and use them to login to your chosen Swiss News Portal</div>
</div>
<div class="p-4 mb-4 text-sm text-[#5A2E2B] bg-yellow-100 rounded-lg" role="alert">
<span class="font-bold">! Do NOT change passwords</span>, these are only trial accounts. You won't gain anything by changing them.
</div>
<div class="bg-white min-w-[20rem] shadow w-full rounded-lg divide-y divide-gray-200">
<div id="loading-spinner" class="flex justify-center flex-row p-10">
<svg role="status" class="mr-2 w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-orange-800" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"></path>
<path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"></path>
</svg>
</div>
<div id="credentials" class="px-5 py-7 hidden">
<label class="font-semibold text-sm text-[#5A2E2B] pb-1 block">E-mail</label>
<div class="flex border min-h-[2rem] w-full rounded-lg content-center">
<div id="email" class="text-sm w-full p-3 select-all"></div>
<span data-clipboard-target="#email" class="copy-btn inline-flex items-center px-3 cursor-pointer text-sm bg-gray-200 rounded-r-md border border-l-0 border-gray-300">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3" />
</svg>
</span>
</div>
<label class="mt-4 font-semibold text-sm text-[#5A2E2B] pb-1 block">Password</label>
<div class="flex border min-h-[2rem] w-full rounded-lg content-center">
<div id="password" class="text-sm w-full p-3 select-all"></div>
<span data-clipboard-target="#password" class="copy-btn inline-flex items-center px-3 cursor-pointer text-sm bg-gray-200 rounded-r-md border border-l-0 border-gray-300">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3" />
</svg>
</span>
</div>
</div>
</div>
<div id="error-box" class="p-4 hidden mb-4 text-sm text-red-700 bg-red-100 rounded-lg dark:bg-red-200 dark:text-red-800" role="alert">
<span class="font-medium">Error!</span> Seems like there are no credentials available 🍪 - Create a bug report <a class="text-[#5A2E2B]" href="https://github.com/jsalamander/BZCookieBakery/issues">here</a>
</div>
<div class="min-w-[20rem] mt-4 text-center">
<div class="text-sm text-gray-600 pb-1 block">Supported portals can be found <a class="text-[#5A2E2B]" href="https://consent.onelog.ch/">here</a></div>
</div>
<div class="flex justify-center mt-4">
<a href="https://addons.mozilla.org/de/firefox/addon/cookiebear-gratis-bz-abo/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search" target="_blank">
<img class="max-h-[2rem]" alt="Firefox Addon Button" src="https://extensionworkshop.com/assets/img/documentation/publish/get-the-addon-129x45px.8041c789.png">
</a>
</div>
<div class="min-w-[20rem] mt-4 text-center">
<div class="text-sm text-gray-600 pb-1 block">
<a class="text-[#5A2E2B]" href="https://status.bzcookie.fans/">
System Health 🏥
</a>
</div>
</div>
</div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function (event) {
fetch("https://www.bzcookie.fans").then(async (data) => {
const credentials = await data.json();
document.getElementById("loading-spinner").style.display = 'none';
if (credentials.email && credentials.password) {
document.getElementById("credentials").classList.remove("hidden");
document.getElementById("email").textContent = credentials.email;
document.getElementById("password").textContent = credentials.password;
const clipboard = new ClipboardJS('.copy-btn');
clipboard.on('success', function(e) {
if (navigator.vibrate) {
window.navigator.vibrate(20);
}
iziToast.success({
message: 'Copied!',
position: 'topRight',
timeout: 1000
});
});
} else {
document.getElementById("error-box").classList.remove("hidden");
}
});
});
</script>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//piwik.schicht-plan.ch/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '6']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
</body>
</html>