-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
executable file
·132 lines (121 loc) · 6.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Zebra</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JL6ZQBQJCE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag("js", new Date());
gtag("config", "G-JL6ZQBQJCE");
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark">
<meta name="theme-color" content="#000">
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#8599ff">
<!-- Title / Description -->
<meta name="description"
content="A modern, fast, and powerful open-source package manager for jailbroken iOS devices.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="Zebra">
<meta property="og:description"
content="A modern, fast, and powerful open-source package manager for jailbroken iOS devices.">
<meta property="og:image" content="https://getzbra.com/assets/banner.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:site" content="@getZebra">
<meta property="twitter:title" content="Zebra">
<meta property="twitter:description"
content="A modern, fast, and powerful open-source package manager for jailbroken iOS devices.">
<meta property="twitter:image" content="https://getzbra.com/assets/banner.jpg">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/4.6.1/css/bootstrap.min.css" integrity="sha512-T584yQ/tdRR5QwOpfvDfVQUidzfgc2339Lc8uBDtcp/wYu80d7jwBgAxbyMh0a9YM9F8N3tdErpFI8iaGx6x5g==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/brands.min.css" integrity="sha512-OivR4OdSsE1onDm/i3J3Hpsm5GmOVvr9r49K3jJ0dnsxVzZgaOJ5MfxEAxCyGrzWozL9uJGKz6un3A7L+redIQ==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="./css/main.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.slim.min.js" integrity="sha512-6ORWJX/LrnSjBzwefdNUyLCMTIsGoNP6NftMy2UAm1JBm6PRZCO1d7OHBStWpVFZLO+RerTvqX/Z9mBFfCJZ4A==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/4.6.1/js/bootstrap.bundle.min.js" integrity="sha512-mULnawDVcCnsk9a4aG1QLZZ6rcce/jSzEGqUkeOLy0b6q0+T6syHrxlsAGH7ZVoqC93Pd0lBqd6WguPWih7VHA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
$(() => {
let isIOS = (/iPad|iPhone|iPod/.test(navigator.platform) || (navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1)) && !window.MSStream;
if (isIOS) {
$("#open-in-menu").html(`
<a class="dropdown-item" href="cydia://url/https://cydia.saurik.com/api/share#?source=https://getzbra.com/repo/&package=xyz.willy.zebra">Open in Cydia</a>
<a class="dropdown-item" href="sileo://package/xyz.willy.zebra">Open in Sileo</a>
<div class="dropdown-divider"></div>
<div class="dropdown-header">
Jailbreak required.
<a href="https://ios.cfw.guide/" class="text-muted" style="text-decoration: underline;">Learn more</a>
</div>
`);
}
// Don’t immediately close the menu on click
$("#open-in-menu").click((e) => {
if (e.target.tagName !== "A") {
e.stopPropagation();
}
});
window.fetch && fetch("https://api.github.com/repos/zbrateam/Zebra/releases/latest")
.then((res) => res.json())
.then((data) => {
$("#versionNumber").text(`Version ${data.tag_name.replace(/^v/, "")}`);
});
});
</script>
</head>
<body>
<div class="container">
<div class="row">
<div class="col text-md-left text-center">
<div class="info-container">
<img src="./assets/zeeb.svg" alt="Zebra Logo" class="logo" width="90vw">
<h1 class="title">Zebra</h1> <!-- Free My Boy AUPM -->
<h3 class="subtitle">A modern, fast, and powerful open-source package manager for jailbroken iOS devices.</h3>
<div class="button-container">
<div class="dropdown">
<a href="cydia://url/https://cydia.saurik.com/api/share#?source=https://getzbra.com/repo/&package=xyz.willy.zebra" id="btn-download" class="btn btn-zeeb btn-lg" data-toggle="dropdown" aria-expanded="false">
Download Now
</a>
<div id="open-in-menu" class="dropdown-menu" aria-labelledby="btn-download">
<div class="dropdown-header" style="white-space: normal;">
<span style="white-space: nowrap;">Add <strong>https://getzbra.com/repo/</strong></span>
to your package manager’s sources, or visit this website from your jailbroken iOS device and try again.
<a href="https://ios.cfw.guide/" class="text-muted" style="text-decoration: underline;">Learn more</a>
</div>
</div>
</div>
<div class="version-container">
<p style="color: rgba(255, 255, 255, 0.80); margin: 0;" id="versionNumber"> </p>
<input class="input" type="text" onclick="setSelectionRange(0,25)" placeholder="https://getzbra.com/repo/" value="https://getzbra.com/repo/" readonly>
</div>
</div>
</div>
</div>
<div class="col-md-auto mx-auto">
<div class="text-center">
<img src="./assets/screenshot.png" alt="Zebra Packages Screen" class="screenshot">
</div>
</div>
</div>
<hr style="background-color: rgba(255, 255, 255, 0.25);">
<div class="row align-items-center h-100" style="padding-bottom: 10px;">
<div class="col text-md-left text-center">
<p class="footnote">
© 2018-<script>document.write(new Date().getFullYear())</script> Zebra Team.
Originally developed by
<a class="white-tinted" style="text-decoration: underline;" href="https://styres.me">Wilson Styres</a>
and
<a class="white-tinted" style="text-decoration: underline;" href="https://andrew-abosh.com">Andrew Abosh</a>.
</p>
</div>
<div class="col-md-auto text-center">
<a href="https://discord.gg/6CPtHBU" class="fab fa-discord fa-2x white-tinted" style="margin-right: 10px;"></a>
<a href="https://github.com/wstyres/Zebra" class="fab fa-github fa-2x white-tinted"
style="margin-right: 10px;"></a>
<a href="https://twitter.com/getZebra" class="fab fa-twitter fa-2x white-tinted"></a>
</div>
</div>
</body>
</html>