forked from ubershmekel/redditp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
147 lines (140 loc) · 6.45 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
<!DOCTYPE html>
<html>
<head>
<!--
https://github.com/ubershmekel/redditp
-->
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>redditP</title>
<meta name="description" content="A fullscreen presentation or slide show of reddit. RedditP" />
<meta name="format-detection" content="telephone=no" />
<meta name="format-detection" content="date=no" />
<meta name="format-detection" content="address=no" />
<link rel="shortcut icon" href="/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.2/toastr.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.2/toastr.min.js"></script>
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-4533496-15', 'auto');
ga('send', 'pageview');
</script>
<script>
window.onerror = function(msg, url, linenumber) {
// Tell users when errors occur and log on google analytics
// http://stackoverflow.com/questions/2604976/javascript-how-to-display-script-errors-in-a-popup-alert/2604997#2604997
var errMessage = msg + '\nURL: ' + url + '\nLine Number: '+ linenumber;
ga('send', 'exception', {
'exDescription': errMessage,
'exFatal': false
});
$(function(){
// toastr does not work before the body exists, so we do this $() trick to postpone the toast.
// This is useful to see syntax errors in loaded scripts.
toastr.warning("Redditp booboo: " + msg)
});
// report on dev console too
return false;
}
</script>
<script type="text/javascript" src="/js/jquery.touchwipe.js"></script>
<script type="text/javascript" src="/js/js.cookie.js"></script>
<script type="text/javascript" src="/js/ie_hacks.js"></script>
<script type="text/javascript" src="/js/EmbedIt.js"></script>
<script type="text/javascript" src="/js/script.js"></script>
</head>
<body id="page">
<div class="prevArrow fadeOnIdle" title="The arrow keys work too" id="prevButton"></div>
<div class="nextArrow fadeOnIdle" title="Try the arrow keys too" id="nextButton"></div>
<div id="controlsDiv" class='navbox clouds fadeOnIdle'>
<div class="collapser" data-openstate="open">-</div>
<div id="navboxContents">
<ul class="nbmenu">
<li id="subredditUrl"><noscript>No javascript, no gain.</noscript>
</li>
<li>
<a href="https://github.com/ubershmekel/redditp/blob/master/README.md" title="hotkeys">hotkeys</a> -
<a href="https://github.com/ubershmekel/redditp" title="redditp source on github">src</a> -
<a href="http://www.reddit.com/r/redditp" title="who made this">blog</a>
</li>
<li>
<input class="checkbox" type="checkbox" name="nsfw" id="nsfw" value="Auto" checked />
<label class="checkbox over18" for="nsfw"> nsfw</label>
<img src="/images/fullscreen.png" id="fullScreenButton" alt="Fullscreen" />
</li>
</ul>
<ul class="nbmenu">
<li>
<input class="checkbox" type="checkbox" name="autoNextSlide" id="autoNextSlide" value="Auto" checked />
<label class="checkbox" for="autoNextSlide"> Auto-next</label>
every <input type="text" name="timeToNextSlide" id="timeToNextSlide" value="5" size="2" /> seconds
</li>
<li>
<a id='navboxCommentsLink' href='#' title='Comments on reddit'>comments</a>
</li>
<li style="display:none">
<a id='navboxDuplicatesLink' href='#' title='Duplicates on reddit'>duplicates</a>
</li>
<li>
<a id='navboxLink' href='#' title='placeholder'>image</a>
</li>
</ul>
<div class="numberButtonList">
<ul id="allNumberButtons">
<!-- Slide number buttons will be injected by jQuery -->
</ul>
<ul id="sfwNumberButtons">
</ul>
</div>
</div>
</div>
<div id="titleDiv" class='navbox clouds'>
<div class="collapser" data-openstate="open">-</div>
<h2 id='navboxTitle'>
<noscript>Javascript is required for redditp to work :(</noscript>
</h2>
<h3><a id='navboxSubreddit' href="http://www.reddit.com">
<noscript>Javascript is required for redditp to work :(</noscript>
</a></h3>
</div>
<div id="recommend" style="display:none; text-align: center; margin: 10px; color: rgb(170, 170, 170);">
<p>Maybe try these presentations instead:</p>
<ul>
<li>
<a href="/r/earthporn">earthporn</a>
</li>
<li>
<a href="/r/aww">aww</a>
</li>
<li>
<a href="/r/foodporn">foodporn</a>
</li>
<li>
<a href="/r/funny">funny</a>
</li>
<li>
<a href="/r/gonewild">gonewild</a>
</li>
<li>
<a href="/r/spaceporn">spaceporn</a>
</li>
<li>
<a href="/r/gifs">gifs</a>
</li>
<li>
<a href="/r/all">all</a>
</li>
</ul>
</div>
<div id="pictureSlider">
<!-- Pictures will be injected by jQuery -->
<div>
<!-- Empty div to be animated out, do not erase -->
</div>
</div>
</body>
</html>