-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
251 lines (227 loc) · 8.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
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="https://www.alpermail.top/cdn/fella.png">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="https://alpermail.top">
<meta name="twitter:title" content="AlperMail">
<meta name="twitter:description" content="Your best choice for an email service!">
<meta content="/cdn/fella.png" property="og:image" />
<title>AlperMail</title>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
}
header {
background-color: #333;
color: #fff;
padding: 1em 0;
text-align: center;
}
h1 {
margin: 0;
font-size: 2.5em;
}
ul {
list-style-type: none;
padding: 0;
margin: 2em auto;
max-width: 600px;
}
li {
margin-bottom: 1em;
padding: 1em;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
strong {
font-weight: bold;
}
.success {
color: #0a0;
}
.error {
color: #a00;
}
</style>
<script>
function cleanup(func, el, delayCleanup) {
return function() {
if (delayCleanup) {
delayCleanup = false;
return;
}
func();
el.parentNode.removeChild(el);
};
}
function get(url) {
return function(success, error) {
var img = document.createElement("img");
img.onload = cleanup(success, img);
img.onerror = cleanup(success, img);
img.className = "hidden";
document.body.appendChild(img);
img.src = url;
};
}
var numPostFrames = 0;
function post(url, params, fakeOk) {
params = params || {};
return function(success, error) {
var form = document.createElement("form");
var iframe = document.createElement("iframe");
iframe.className = "hidden";
iframe.onload = cleanup(cleanup(success, form), iframe, true);
iframe.onerror = cleanup(cleanup(error, form), iframe, true);
iframe.name = "iframe" + numPostFrames++;
document.body.appendChild(iframe);
form.action = url;
form.method = "POST";
form.target = iframe.name;
for (var param in params) {
if (params.hasOwnProperty(param)) {
var input = document.createElement("input");
input.type = "hidden";
input.name = param;
input.value = params[param];
form.appendChild(input);
}
}
document.body.appendChild(form);
form.submit();
if (fakeOk) {
success();
}
};
}
function and(one, two) {
return function(success, error) {
var oneSuccess = false;
var twoSuccess = false;
var oneSuccessFunc = function() {
oneSuccess = true;
if (twoSuccess) {
success();
}
};
var twoSuccessFunc = function() {
twoSuccess = true;
if (oneSuccess) {
success();
}
};
one(oneSuccessFunc, error);
two(twoSuccessFunc, error);
}
}
function doSites(list, sites) {
sites.forEach(function(site) {
if (!site.length) {
return;
}
var name = site[0];
var action = site[1];
var li = document.createElement("li");
var nameNode = document.createElement("strong");
nameNode.appendChild(document.createTextNode(name));
var statusNode = document.createElement("span");
statusNode.innerHTML = "...";
li.appendChild(nameNode);
li.appendChild(document.createTextNode(': '));
li.appendChild(statusNode);
var success = function() {
statusNode.innerHTML = "Success :)";
statusNode.className = "success";
};
var error = function() {
statusNode.innerHTML = "error";
statusNode.className = "error";
};
action(success, error);
list.appendChild(li);
});
}
window.onload = function() {
doSites(document.getElementById("sitelist"), [
["AOL", and(get("http://my.screenname.aol.com/_cqr/logout/mcLogout.psp?sitedomain=startpage.aol.com&authLev=0&lang=en&locale=us"), get("https://api.screenname.aol.com/auth/logout?state=snslogout&r=" + Math.random()))],
["Amazon", get("http://www.amazon.com/gp/flex/sign-out.html?action=sign-out")],
["Blogger", get("http://www.blogger.com/logout.g")],
["Delicious", get("http://www.delicious.com/logout")],
["DreamHost", get("https://panel.dreamhost.com/index.cgi?Nscmd=Nlogout")],
["Dropbox", get("https://www.dropbox.com/logout")],
["eBay", get("https://signin.ebay.com/ws/eBayISAPI.dll?SignIn")],
["Gandi", get("https://www.gandi.net/login/out")],
["GitHub", get("https://github.com/logout")],
["GMail", get("http://mail.google.com/mail/?logout")],
["Google", get("https://www.google.com/accounts/Logout")],
["Hulu", get("https://secure.hulu.com/logout")],
["Instapaper", get("http://www.instapaper.com/user/logout")],
["Linode", get("https://manager.linode.com/session/logout")],
["MySpace", get("http://www.myspace.com/index.cfm?fuseaction=signout")],
["NetFlix", get("http://www.netflix.com/Logout")],
["New York Times", get("http://www.nytimes.com/logout")],
["Newegg", get("https://secure.newegg.com/NewMyAccount/AccountLogout.aspx")],
["NameCheap", get("https://www.namecheap.com/myaccount/signout/")],
["Photobucket", get("http://photobucket.com/logout")],
["Skype", get("https://secure.skype.com/account/logout")],
["Slashdot", get("http://slashdot.org/my/logout")],
["SoundCloud", get("http://soundcloud.com/logout")],
["Steam Community", get("http://steamcommunity.com/?action=doLogout")],
["Steam Store", get("http://store.steampowered.com/logout/")],
["ThinkGeek", get("https://www.thinkgeek.com/brain/account/login.cgi?a=lo")],
["Threadless", get("http://www.threadless.com/logout")],
["Tumblr", get("http://www.tumblr.com/logout")],
["Twitter", get("http://www.twitter.com/logout")],
["Trendyol", get("https://www.trendyol.com/authentication/logout")],
["Reddit", get("http://reddit.com/logout")],
["Vimeo", get("http://vimeo.com/log_out")],
["Wikipedia", get("http://en.wikipedia.org/w/index.php?title=Special:UserLogout")],
["Windows Live", get("http://login.live.com/logout.srf")],
["Woot", get("https://account.woot.com/logout")],
["Wordpress", get("https://wordpress.com/wp-login.php?action=logout")],
["Yahoo!", get("https://login.yahoo.com/config/login?.src=fpctx&logout=1&.direct=1&.done=http://www.yahoo.com/")],
["YouTube", post("http://www.youtube.com", {"action_logout": "1"}, true)],
["Discord", post("https://discord.com/api/v9/auth/logout", {}, false)],
["Allegro", get("https://allegro.pl/wyloguj?origin_url=/")],
["OnetMail", get("https://authorisation.grupaonet.pl/logout.html?state=logout&client_id=poczta.onet.pl.front.onetapi.pl")],
["InteriaMail", get("https://poczta.interia.pl/logowanie/sso/logout")],
["OLX", get("https://www.olx.pl/account/logout")],
["OpenAI", get("https://auth0.openai.com/v2/logout")],
["SimpleLogin", get("https://app.simplelogin.io/auth/logout")],
["Roblox", post("https://auth.roblox.com/v2/logout", {}, false)],
["Guilded", post("https://www.guilded.gg/api/logout")],
])
};
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24596689-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<header>
<img src="/cdn/fella.png" alt="alpursocal">
</header>
<main>
<ul id="sitelist">
</ul>
</main>
<footer style="text-align: center; margin-top: 2em;">
<p style="font-size: 2em;">:D</p>
<a>Made with ❤️ by </a><a href="https://alper.boo">Alper</a><a> | Hosted using </a><a href="https://vercel.com">Vercel</a>
<p></p>
<a href="https://github.com/AlperSocial/alpermail.top-superlogout"><img src="/cdn/github_logo.png" alt="GitHub" style="width: 50px; height: auto;"></a> <a href="https://alper.boo"><img src="/cdn/fella-circle.png" alt="GitHub" style="width: 50px; height: auto;"></a>
</footer>
</body>
</html>