-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwebchat.html
47 lines (38 loc) · 1.14 KB
/
webchat.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
---
title: Web-based IRC
layout: page
navbar-index: 10
ads: true
redirect_from:
- /webirc.html
---
{{ site.title }} offers an easy to use web-based IRC client,
<a href="https://thelounge.chat"><img src="{{ site.baseurl
}}/irc/thelounge.svg" class="icon" />The Lounge</a>.
<br/><br/>
<iframe src="https://us.xeroxirc.net/webchat" class="frame">
<h5>Your browser doesn't support iframes.</h5>
Use the "New window" link below.
</iframe>
<br/>
<script>
var frame = document.getElementsByTagName('iframe')[0];
function loadframe() {
frame.removeAttribute('sandbox');
frame.src = frame.src;
return false;
}
function fullscreen() {
if (frame.requestFullscreen) {
frame.requestFullscreen();
} else if (frame.mozRequestFullScreen) {
frame.mozRequestFullScreen();
} else if (frame.webkitRequestFullscreen) {
frame.webkitRequestFullscreen();
} else {
alert("Your browser doesn't seem to support fullscreen!");
}
}
</script>
<button class="button-primary" onclick="fullscreen()">Fullscreen</button>
<a class="button" href="https://us.xeroxirc.net/webchat" target="_blank">New window</a>