forked from yureribeiro/deeplinkmedfacil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (41 loc) · 1.22 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Redirecionando para o Instagram...</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
background-color: #f7f7f7';
}
h1 {
font-size: 1.5em;
color: #333;
}
</style>
</head>
<body>
<h1>Redirecionando para o Instagram...</h1>
<script>
window.onload = function() {
const deepLink = 'https://urlgeni.us/instagram/8fv6u';
// Cria um link para o deep link
const deepLinkElement = document.createElement('a');
deepLinkElement.href = deepLink;
deepLinkElement.target = '_blank';
deepLinkElement.style.display = 'none';
document.body.appendChild(deepLinkElement);
// Tenta abrir o deep link
setTimeout(() => {
deepLinkElement.click();
}, 25);
};
</script>
</body>
</html>