-
Notifications
You must be signed in to change notification settings - Fork 0
/
tvp.html
32 lines (29 loc) · 2 KB
/
tvp.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
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="utf-8"><title>Tvbox</title><base target="_blank">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<!—meta http-equiv="Content-Security-Policy" content="default-src https:; frame-src https: http:;"—>
<!—meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"—>
<style>
html,body{weight:100%;height: 100%;margin:auto;text-align:center;overflow-y:hidden;}
iframe{height: 100%;width:100%;border: none;}
button{;background-color:#7b90a8;color:#fff;border-radius:3px;margin: 0;padding-top:6px;padding-bottom:6px;border:1px solid 7b80aa;}
</style>
</head>
<body>
<!--div style="position:fixed;top:15px;left:50%;transform:translate(-50%,-50%);background-color:#fff;text-align:center;width:100%:z-index:999;margin:0 auto;"-->
<div style="position:fixed;top:0;left:0;width:100%;z-index:999;">
<button onclick="cpp('https://raw.crsay.com/wwb521/live/main/tv.m3u')">TV1</button>
<button onclick="cpp('https://a.lqtv.top/m3u/tv.m3u')">TV2</button>
<button onclick="cpp('https://raw.crsay.com/fanmingming/live/main/tv/m3u/ipv6.m3u')">TV3</button>
<button onclick="cpp('https://tv.crsay.com/box/')">主仓</button>
<button onclick="cpp('https://m.crsay.com/tv/box/')">备用</button>
<button onclick="cpp('https://tv.nxog.top/')">欧歌</button>
</div>
<script language="javascript">
var url = decodeURI(window.location.search).trim().slice(1); //1?2
//if(url.indexOf('https://') = -1 && url.indexOf('http://') != -1){var ifr="about:blank";}
document.write ("<iframe src='"+url+"'></iframe>");
function cpp(txt){let area =document.createElement('divc');area.innerText=txt;document.body.appendChild(area);let range =document.createRange();range.selectNode(area);let selection = window.getSelection();if (selection.rangeCount>0) selection.removeAllRanges();selection.addRange(range);document.execCommand('copy');selection.removeAllRanges();document.body.removeChild(area);}
</script>
</body>
</html>