-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_bk.html
41 lines (37 loc) · 1.29 KB
/
index_bk.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
<!DOCTYPE html>
<html>
<body>
<!-- script>
console.log("pikachu 0");
function successFunction(position) {
console.log("pikachu 0.5");
var lat = position.coords.latitude;
var long = position.coords.longitude;
console.log('Your latitude is :'+lat+' and longitude is '+long);
}
console.log("pikachu 1");
if (navigator.geolocation) {
console.log("pikachu 2");
navigator.geolocation.getCurrentPosition(successFunction, errorFunction);
} else {
console.log("pikachu 3");
alert('It seems like Geolocation, which is required for this page, is not enabled in your browser. Please use a browser which supports it.');
}
function errorFunction(positionE) {
console.log("pikachu 4");
console.log(positionE);
}
console.log("pikachu -1");
</script -->
lolo
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.10";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-login-button" data-max-rows="1" data-size="large" data-button-type="continue_with" data-show-faces="false" data-auto-logout-link="false" data-use-continue-as="false"></div>
</body>
</html>