-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
86 lines (86 loc) · 3.73 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
<!DOCTYPE html>
<html>
<head>
<title>iOS iConify</title>
<!-- Metas -->
<meta charset="UTF-8">
<meta name="description" content="A utility that lets you add a custom iOS icon to any website.">
<meta name="keywords" content="iOS,iOS iConify,iConify,Apple,iPhone,iPad,home screen,apple-touch-icon,iOS home screen">
<meta name="author" content="Booligoosh">
<meta name="viewport" content="width=981, initial-scale=1.0">
<meta name="theme-color" content="#ffff00">
<meta name="google-site-verification" content="QNVgLo5Lc8fkZEROTJAVdj6OR-HfetxQswuglVfoCi8" />
<!-- Stylesheets -->
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="checkbox.css">
<!-- Scripts -->
<script>
if('serviceWorker' in navigator) {
navigator.serviceWorker
.register('/sw.js')
.then(function() { console.log("Service Worker Registered"); });
}
</script>
<link rel="manifest" href="manifest.json">
<script src="jquery.min.js"></script>
<script src="script.js"></script>
<!-- Icons -->
<link rel="apple-touch-icon" sizes="57x57" href="img/apple-touch-icons/57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="img/apple-touch-icons/72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="img/apple-touch-icons/144x144.png" />
<link rel="apple-touch-icon" sizes="144x144" href="img/apple-touch-icons/144x144.png" />
<link rel="icon" type="image/png" href="img/icon.png">
</head>
<body>
<page class="page" id="page-welcome" style="display: block;">
<h1>iOS iConify</h1>
<a class="button" id="get_started" onclick="goToPage('form')" onfocus="goToPage('form')">Get Started</a>
<p>Do you know that feeling when you add a website to your home screen and it shows up as an ugly, way-too-small screenshot? Well now that's fixed! iOS iConify lets you give websites a custom icon on your homescreen.</p>
</page>
<page class="page" id="page-form" style="display: none;">
<h2>Fill in the fields below:</h2>
<form onchange="func()" action="site.html" name="form" method="get" autocomplete="off">
Website FULL URL:<br>
<input type="text" name="website">
<br>
Desired title:<br>
<input type="text" name="title">
<br>
<br>
<input id="check" type="checkbox" name="autoicon" checked>
<label for="check"></label>Use website favicon
<br>
<div id="icoText">
<br>Icon url (image must be exactly square):<br>
<input id="ico" type="text" name="icon">
<br><br>
</div>
<br>
<input type="submit" value="Submit" class="button">
<input id="id" type="text" name="id" style="display: none;"></input>
</form>
<script>
var d = new Date();
document.getElementById("id").value = d.getTime();
func();
function func() {
if (document.getElementById("check").checked === true) {
document.getElementById("ico").disabled = "disabled";
document.getElementById("icoText").style.display = "none";
}
else {
document.getElementById("ico").removeAttribute("disabled");
document.getElementById("icoText").style.display = "inline-block";
}
}
</script>
</page>
<!-- Get Site Control Code for http://booligoosh.github.io/ -->
<script>
(function (w,i,d,g,e,t,s) {w[d] = w[d]||[];t= i.createElement(g);
t.async=1;t.src=e;s=i.getElementsByTagName(g)[0];s.parentNode.insertBefore(t, s);
})(window, document, '_gscq','script','//widgets.getsitecontrol.com/50243/script.js');
</script>
<!-- End of Get Site Control Code for http://booligoosh.github.io/ -->
</body>
</html>