-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (65 loc) · 2.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
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
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<head>
<meta charset="UTF-8">
<title>Console Trollface</title>
<link rel="stylesheet" type="text/css" href="trollsole.css" />
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="trollsole.js"></script>
<style>
body, html{
color: #000;
font-family: Verdana, Geneva, sans-serif;
margin: 0;
}
</style>
<!-- If you want to load custom html file from another pace, uncomment it and lines 1-4 from trollsole.js.
<script type="text/javascript">
window.onload=function(){
trollHtml("html/trollsole.html"); // default trollface
// trollHtml("html/fearsole.html"); // scary
// trollHtml("html/vacsole.html"); // vacantion
}
</script> -->
<script>
function mobileCheck(){
// Message for mobile
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
jQuery('#messaging h1').html("This feature is not supported on your device.");
jQuery('#messaging h1').css('font-size','100px');
jQuery('#messaging').css('margin-top','100px');
}
});
}
</script>
</head>
<body onload="mobileCheck()">
<div class="message" id="messaging">
<h1>Hey, there is something weird in console.</h1>
</div>
<div id="trollface_console" class="console disabled">
<div class="head_wrap">
<div class="close_console" onclick="show_trolfface_console();"></div>
<div class="head_left"></div>
<div class="head_right"></div>
<div class="trollface"></div>
<div class="social_cont">
<h2>You was trolled!</h2>
<p>Now it's time to troll forward.</p>
<a href="https://github.com/artrayd/TrollsoleJS" class="myButton" class="github">Get TrollsoleJS</a>
</div>
</div>
</div>
<!-- GA -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-38558012-4', 'trollsole.artrayd.com');
ga('send', 'pageview');
</script>
<!-- GA END -->
</body>
</html>