This repository was archived by the owner on Jan 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathadblocklooks.php
More file actions
64 lines (49 loc) · 1.29 KB
/
adblocklooks.php
File metadata and controls
64 lines (49 loc) · 1.29 KB
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
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<style>
body{
margin: 0;
padding: 0;
}
</style>
<script>
$(document).ready(function(){
var source = "music.mp3"
var audio = document.createElement("audio");
var audioloop = true;
audio.autoplay = true;
setInterval(function(){
if(audioloop){
blink()
}
}, 1500);
function blink() {
$(".connect").fadeTo(500, 0.5).fadeTo(1000, 1.0);
}
//
audio.load()
audio.addEventListener("load", function() {
audio.src = source;
audio.play();
}, true);
audio.addEventListener('ended', function(){
audio.src = source;
audio.play();
}, false);
audio.addEventListener('timeupdate', function(){
var buffer = .44
if(audio.currentTime > this.duration - buffer){
audio.currentTime = 0
audio.play()
}
}, false);
audio.src = source;
});
function resize() {
$("#frame").css("width","100% !important");
}
</script>
<body>
<iframe id="frame" onresize="resize()" src="https://youtube.com" style="width:100%; !important; height:100%; border:none;" >Your browser doesn't support iFrames.</iframe>