Skip to content

Commit

Permalink
更新 tvp.html
Browse files Browse the repository at this point in the history
  • Loading branch information
cracada authored Oct 2, 2024
1 parent 9d945cb commit 50a38b4
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions tvp.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,22 @@
</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;">
<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 type='button' onclick="cpp('https://m.crsay.com/tv/box/')">备用</button>
<button onclick="cpp('https://tv.nxog.top/')">欧歌</button>
</div>

<!—iframe src="https://tv.crsay.com"></iframe>
<!—iframe src="//m.nmc.cn/publish/forecast/AHB/wuhan.html"></iframe>

<script language="javascript">

//alert(window.location.search.slice(1));
//document.write ("<iframe src='http://192.168.1."+window.location.search.slice(1)+":9978/'></iframe>");

document.write ("<iframe src='"+window.location.search.slice(1)+"'></iframe>");

function cpp(txt,sel){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);}
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>

0 comments on commit 50a38b4

Please sign in to comment.