Update index.html
Browse files- index.html +85 -115
index.html
CHANGED
|
@@ -1,88 +1,79 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
<!DOCTYPE html>
|
| 4 |
<html lang="ar" dir="rtl">
|
| 5 |
<head>
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
<
|
| 9 |
-
(function(qlcnr){
|
| 10 |
-
var d = document,
|
| 11 |
-
s = d.createElement('script'),
|
| 12 |
-
l = d.currentScript || d.scripts[d.scripts.length - 1];
|
| 13 |
-
s.settings = qlcnr || {};
|
| 14 |
-
s.src = "\/\/quarrelsomebitter.com\/bRXQV.sAdHGZlH0SYJWHcl\/Kejmw9dufZRUNlAkdPPT\/cr1RN\/DJcyweMkzFc\/tpNfzLU\/0UNbztAE0VMvQB";
|
| 15 |
-
s.async = true;
|
| 16 |
-
s.referrerPolicy = 'no-referrer-when-downgrade';
|
| 17 |
-
l.parentNode.insertBefore(s, l);
|
| 18 |
-
})({})
|
| 19 |
-
</script>
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
<meta charset="UTF-8">
|
| 25 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
| 26 |
-
<title>IPTV World</title>
|
| 27 |
-
<style>
|
| 28 |
-
*{box-sizing:border-box}
|
| 29 |
-
body{margin:0;background:#0d0f12;color:#fff;font-family:Cairo,Arial,sans-serif}
|
| 30 |
-
#iptv-app{max-width:950px;margin:12px auto;padding:14px;background:#15171b;border:1px solid #292d33;border-radius:18px}
|
| 31 |
-
.header{text-align:center;padding:8px 0 16px}
|
| 32 |
-
.header h2{margin:0;color:#d4af37;font-size:23px}
|
| 33 |
-
.header p{margin:7px 0 0;color:#858b94;font-size:12px}
|
| 34 |
-
.sources{display:flex;gap:7px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}
|
| 35 |
-
.sources::-webkit-scrollbar{display:none}
|
| 36 |
-
.source-btn{white-space:nowrap;border:1px solid #30353c;background:#20242a;color:#ddd;border-radius:20px;padding:9px 13px;cursor:pointer}
|
| 37 |
-
.source-btn.active{background:#d4af37;color:#111;border-color:#d4af37;font-weight:bold}
|
| 38 |
-
.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px}
|
| 39 |
-
.player{background:#000;border:1px solid #30343a;border-radius:14px;overflow:hidden;position:sticky;top:10px}
|
| 40 |
-
video{display:block;width:100%;aspect-ratio:16/9;background:#000}
|
| 41 |
-
.now{padding:12px;text-align:center;background:#202329;border-top:1px solid #333}
|
| 42 |
-
.now strong{display:block;color:#d4af37;font-size:14px}
|
| 43 |
-
.now small{display:block;color:#777;margin-top:4px}
|
| 44 |
-
.list-box{background:#1b1e23;border:1px solid #30343a;border-radius:14px;display:flex;flex-direction:column;height:620px;overflow:hidden}
|
| 45 |
-
.tools{padding:12px;border-bottom:1px solid #30343a}
|
| 46 |
-
input,select{width:100%;background:#0c0e11;color:#fff;border:1px solid #343941;border-radius:9px;padding:11px;outline:none}
|
| 47 |
-
select{margin-top:8px}
|
| 48 |
-
.list{overflow:auto;flex:1}
|
| 49 |
-
.channel{display:flex;align-items:center;gap:8px;padding:11px 10px;border-bottom:1px solid #292d32;cursor:pointer}
|
| 50 |
-
.channel:hover{background:#24282e}
|
| 51 |
-
.channel-main{min-width:0;flex:1}
|
| 52 |
-
.channel-name{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
| 53 |
-
.channel-cat{color:#777;font-size:10px;margin-top:3px}
|
| 54 |
-
.fav{width:30px;border:0;background:none;color:#777;font-size:18px;cursor:pointer}
|
| 55 |
-
.fav.on{color:#ffd34e}
|
| 56 |
-
.status{padding:15px;text-align:center;color:#777;font-size:12px}
|
| 57 |
-
.count{font-size:11px;color:#777;padding:9px 12px;border-bottom:1px solid #292d32}
|
| 58 |
-
.add-box{margin-top:14px;background:#1b1e23;border:1px solid #30343a;border-radius:14px;padding:12px}
|
| 59 |
-
.add-row{display:flex;gap:7px;margin-top:8px}
|
| 60 |
-
.add-row button{background:#d4af37;color:#111;border:0;border-radius:9px;padding:0 15px;font-weight:bold;cursor:pointer}
|
| 61 |
-
.clear{margin-top:7px;background:#272b31;color:#aaa;border:0;border-radius:8px;padding:7px 10px;cursor:pointer}
|
| 62 |
-
@media(max-width:760px){
|
| 63 |
-
#iptv-app{margin:0;border-radius:0;border-left:0;border-right:0;min-height:100vh}
|
| 64 |
-
.layout{grid-template-columns:1fr}
|
| 65 |
-
.player{position:relative;top:0}
|
| 66 |
-
.list-box{height:470px}
|
| 67 |
-
.header h2{font-size:20px}
|
| 68 |
-
}
|
| 69 |
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
}
|
| 77 |
-
.
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
}
|
| 82 |
-
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
</head>
|
| 85 |
<body>
|
|
|
|
| 86 |
<div id="iptv-app">
|
| 87 |
|
| 88 |
<div class="header">
|
|
@@ -104,21 +95,6 @@ select{margin-top:8px}
|
|
| 104 |
<button class="source-btn" data-url="favorites">⭐ المفضلة</button>
|
| 105 |
</div>
|
| 106 |
|
| 107 |
-
|
| 108 |
-
<script>
|
| 109 |
-
atOptions = {
|
| 110 |
-
'key' : '9cddc80202aaa3b8cde92a4f92d96331',
|
| 111 |
-
'format' : 'iframe',
|
| 112 |
-
'height' : 250,
|
| 113 |
-
'width' : 300,
|
| 114 |
-
'params' : {}
|
| 115 |
-
};
|
| 116 |
-
</script>
|
| 117 |
-
<script src="https://bancadeltempoidea.org/22/9cddc80202aaa3b8cde92a4f92d96331"></script>
|
| 118 |
-
|
| 119 |
-
<script async="async" data-cfasync="false" src="https://bancadeltempoidea.org/21/ebf48d4e2b9118b36b9f8ed56e32002a"></script>
|
| 120 |
-
<div id="container-ebf48d4e2b9118b36b9f8ed56e32002a"></div>
|
| 121 |
-
|
| 122 |
<div class="layout">
|
| 123 |
<div>
|
| 124 |
<div class="player">
|
|
@@ -129,6 +105,12 @@ select{margin-top:8px}
|
|
| 129 |
</div>
|
| 130 |
</div>
|
| 131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
<div class="add-box">
|
| 133 |
<div style="font-size:13px;color:#ddd">إضافة قائمة IPTV خاصة بك</div>
|
| 134 |
<div class="add-row">
|
|
@@ -153,19 +135,6 @@ select{margin-top:8px}
|
|
| 153 |
</div>
|
| 154 |
</div>
|
| 155 |
|
| 156 |
-
|
| 157 |
-
<script>
|
| 158 |
-
atOptions = {
|
| 159 |
-
'key' : '9cddc80202aaa3b8cde92a4f92d96331',
|
| 160 |
-
'format' : 'iframe',
|
| 161 |
-
'height' : 250,
|
| 162 |
-
'width' : 300,
|
| 163 |
-
'params' : {}
|
| 164 |
-
};
|
| 165 |
-
</script>
|
| 166 |
-
<script src="https://bancadeltempoidea.org/22/9cddc80202aaa3b8cde92a4f92d96331"></script>
|
| 167 |
-
|
| 168 |
-
|
| 169 |
</div>
|
| 170 |
|
| 171 |
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
|
|
@@ -175,6 +144,9 @@ let favorites=JSON.parse(localStorage.getItem('iptv_favs')||'[]');
|
|
| 175 |
let hls=null;
|
| 176 |
let selectedSource='';
|
| 177 |
|
|
|
|
|
|
|
|
|
|
| 178 |
const sourceButtons=document.querySelectorAll('.source-btn');
|
| 179 |
|
| 180 |
sourceButtons.forEach(btn=>{
|
|
@@ -200,7 +172,7 @@ async function loadM3U(url){
|
|
| 200 |
document.getElementById('category-select').innerHTML='<option value="all">كل الأقسام</option>';
|
| 201 |
|
| 202 |
try{
|
| 203 |
-
const response=await fetch(
|
| 204 |
if(!response.ok) throw new Error('HTTP '+response.status);
|
| 205 |
const data=await response.text();
|
| 206 |
parseM3U(data);
|
|
@@ -312,6 +284,8 @@ function renderChannels(channels){
|
|
| 312 |
'<div class="channel-cat">'+escapeHtml(ch.category)+'</div>';
|
| 313 |
|
| 314 |
const openChannel=()=>{
|
|
|
|
|
|
|
| 315 |
playChan(ch);
|
| 316 |
};
|
| 317 |
|
|
@@ -343,7 +317,6 @@ function playChan(ch){
|
|
| 343 |
const video=document.getElementById('main-video');
|
| 344 |
const list=document.getElementById('channels-list');
|
| 345 |
|
| 346 |
-
// Save the user's exact positions before opening the stream.
|
| 347 |
const pageY=window.scrollY;
|
| 348 |
const listY=list.scrollTop;
|
| 349 |
|
|
@@ -390,13 +363,10 @@ function escapeHtml(value){
|
|
| 390 |
'&':'&','<':'<','>':'>','"':'"',"'":'''
|
| 391 |
}[char]));
|
| 392 |
}
|
| 393 |
-
</script>
|
| 394 |
-
|
| 395 |
|
|
|
|
|
|
|
|
|
|
| 396 |
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
</body>
|
| 402 |
</html>
|
|
|
|
|
|
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="ar" dir="rtl">
|
| 3 |
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
| 6 |
+
<title>IPTV World</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
<!-- كود التحقق من ملكية الموقع لـ HilltopAds (إن وجد) -->
|
| 9 |
+
<script>
|
| 10 |
+
(function(qlcnr){
|
| 11 |
+
var d = document,
|
| 12 |
+
s = d.createElement('script'),
|
| 13 |
+
l = d.currentScript || d.scripts[d.scripts.length - 1];
|
| 14 |
+
s.settings = qlcnr || {};
|
| 15 |
+
s.src = "\/\/quarrelsomebitter.com\/bRXQV.sAdHGZlH0SYJWHcl\/Kejmw9dufZRUNlAkdPPT\/cr1RN\/DJcyweMkzFc\/tpNfzLU\/0UNbzdAE0VMvQB";
|
| 16 |
+
s.async = true;
|
| 17 |
+
s.referrerPolicy = 'no-referrer-when-downgrade';
|
| 18 |
+
l.parentNode.insertBefore(s, l);
|
| 19 |
+
})({})
|
| 20 |
+
</script>
|
| 21 |
+
|
| 22 |
+
<style>
|
| 23 |
+
*{box-sizing:border-box}
|
| 24 |
+
body{margin:0;background:#0d0f12;color:#fff;font-family:Cairo,Arial,sans-serif}
|
| 25 |
+
#iptv-app{max-width:950px;margin:12px auto;padding:14px;background:#15171b;border:1px solid #292d33;border-radius:18px}
|
| 26 |
+
.header{text-align:center;padding:8px 0 16px}
|
| 27 |
+
.header h2{margin:0;color:#d4af37;font-size:23px}
|
| 28 |
+
.header p{margin:7px 0 0;color:#858b94;font-size:12px}
|
| 29 |
+
.sources{display:flex;gap:7px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}
|
| 30 |
+
.sources::-webkit-scrollbar{display:none}
|
| 31 |
+
.source-btn{white-space:nowrap;border:1px solid #30353c;background:#20242a;color:#ddd;border-radius:20px;padding:9px 13px;cursor:pointer}
|
| 32 |
+
.source-btn.active{background:#d4af37;color:#111;border-color:#d4af37;font-weight:bold}
|
| 33 |
+
.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px}
|
| 34 |
+
.player{background:#000;border:1px solid #30343a;border-radius:14px;overflow:hidden;position:sticky;top:10px}
|
| 35 |
+
video{display:block;width:100%;aspect-ratio:16/9;background:#000}
|
| 36 |
+
|
| 37 |
+
/* تنسيقات أزرار السيرفرات الإعلانية */
|
| 38 |
+
.server-box{display:flex;gap:8px;justify-content:center;background:#1b1e23;border:1px solid #30343a;border-radius:12px;padding:10px;margin-top:10px}
|
| 39 |
+
.server-btn{background:#272b31;color:#ffd34e;border:1px solid #3d434d;padding:8px 14px;border-radius:8px;font-size:12px;text-decoration:none;font-weight:bold;transition:0.2s}
|
| 40 |
+
.server-btn:hover{background:#d4af37;color:#111}
|
| 41 |
+
|
| 42 |
+
.now{padding:12px;text-align:center;background:#202329;border-top:1px solid #333}
|
| 43 |
+
.now strong{display:block;color:#d4af37;font-size:14px}
|
| 44 |
+
.now small{display:block;color:#777;margin-top:4px}
|
| 45 |
+
.list-box{background:#1b1e23;border:1px solid #30343a;border-radius:14px;display:flex;flex-direction:column;height:620px;overflow:hidden}
|
| 46 |
+
.tools{padding:12px;border-bottom:1px solid #30343a}
|
| 47 |
+
input,select{width:100%;background:#0c0e11;color:#fff;border:1px solid #343941;border-radius:9px;padding:11px;outline:none}
|
| 48 |
+
select{margin-top:8px}
|
| 49 |
+
.list{overflow:auto;flex:1}
|
| 50 |
+
.channel{display:flex;align-items:center;gap:8px;padding:11px 10px;border-bottom:1px solid #292d32;cursor:pointer}
|
| 51 |
+
.channel:hover{background:#24282e}
|
| 52 |
+
.channel-main{min-width:0;flex:1;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}
|
| 53 |
+
.channel-name{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
| 54 |
+
.channel-cat{color:#777;font-size:10px;margin-top:3px}
|
| 55 |
+
.fav{width:30px;border:0;background:none;color:#777;font-size:18px;cursor:pointer}
|
| 56 |
+
.fav.on{color:#ffd34e}
|
| 57 |
+
.status{padding:15px;text-align:center;color:#777;font-size:12px}
|
| 58 |
+
.count{font-size:11px;color:#777;padding:9px 12px;border-bottom:1px solid #292d32}
|
| 59 |
+
.add-box{margin-top:14px;background:#1b1e23;border:1px solid #30343a;border-radius:14px;padding:12px}
|
| 60 |
+
.add-row{display:flex;gap:7px;margin-top:8px}
|
| 61 |
+
.add-row button{background:#d4af37;color:#111;border:0;border-radius:9px;padding:0 15px;font-weight:bold;cursor:pointer}
|
| 62 |
+
.clear{margin-top:7px;background:#272b31;color:#aaa;border:0;border-radius:8px;padding:7px 10px;cursor:pointer}
|
| 63 |
+
|
| 64 |
+
#channels-list{overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;-webkit-overflow-scrolling:touch}
|
| 65 |
+
|
| 66 |
+
@media(max-width:760px){
|
| 67 |
+
#iptv-app{margin:0;border-radius:0;border-left:0;border-right:0;min-height:100vh}
|
| 68 |
+
.layout{grid-template-columns:1fr}
|
| 69 |
+
.player{position:relative;top:0}
|
| 70 |
+
.list-box{height:470px}
|
| 71 |
+
.header h2{font-size:20px}
|
| 72 |
+
}
|
| 73 |
+
</style>
|
| 74 |
</head>
|
| 75 |
<body>
|
| 76 |
+
|
| 77 |
<div id="iptv-app">
|
| 78 |
|
| 79 |
<div class="header">
|
|
|
|
| 95 |
<button class="source-btn" data-url="favorites">⭐ المفضلة</button>
|
| 96 |
</div>
|
| 97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
<div class="layout">
|
| 99 |
<div>
|
| 100 |
<div class="player">
|
|
|
|
| 105 |
</div>
|
| 106 |
</div>
|
| 107 |
|
| 108 |
+
<!-- أزرار سيرفرات مدمجة بالإعلان المباشر (Direct Link) -->
|
| 109 |
+
<div class="server-box">
|
| 110 |
+
<a href="https://unfolded-uncle.com/dum.F/zedgGdNFvPZCGcUC/IeMmi9uuGZtU_lqkaPbTgcK1yNmD/cAwPNeT/Mdt/N/z/U/0/NBzdAE1eNRwA" target="_blank" class="server-btn">⚡ سيرفر بث HD المباشر</a>
|
| 111 |
+
<a href="https://unfolded-uncle.com/dum.F/zedgGdNFvPZCGcUC/IeMmi9uuGZtU_lqkaPbTgcK1yNmD/cAwPNeT/Mdt/N/z/U/0/NBzdAE1eNRwA" target="_blank" class="server-btn">🚀 سيرفر سريع للتنقل</a>
|
| 112 |
+
</div>
|
| 113 |
+
|
| 114 |
<div class="add-box">
|
| 115 |
<div style="font-size:13px;color:#ddd">إضافة قائمة IPTV خاصة بك</div>
|
| 116 |
<div class="add-row">
|
|
|
|
| 135 |
</div>
|
| 136 |
</div>
|
| 137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
</div>
|
| 139 |
|
| 140 |
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
|
|
|
|
| 144 |
let hls=null;
|
| 145 |
let selectedSource='';
|
| 146 |
|
| 147 |
+
// رابط الإعلان المباشر الخاص بك
|
| 148 |
+
const DIRECT_AD_LINK = "https://unfolded-uncle.com/dum.F/zedgGdNFvPZCGcUC/IeMmi9uuGZtU_lqkaPbTgcK1yNmD/cAwPNeT/Mdt/N/z/U/0/NBzdAE1eNRwA";
|
| 149 |
+
|
| 150 |
const sourceButtons=document.querySelectorAll('.source-btn');
|
| 151 |
|
| 152 |
sourceButtons.forEach(btn=>{
|
|
|
|
| 172 |
document.getElementById('category-select').innerHTML='<option value="all">كل الأقسام</option>';
|
| 173 |
|
| 174 |
try{
|
| 175 |
+
const response=await fetch('https://api.allorigins.win/raw?url=' + encodeURIComponent(url));
|
| 176 |
if(!response.ok) throw new Error('HTTP '+response.status);
|
| 177 |
const data=await response.text();
|
| 178 |
parseM3U(data);
|
|
|
|
| 284 |
'<div class="channel-cat">'+escapeHtml(ch.category)+'</div>';
|
| 285 |
|
| 286 |
const openChannel=()=>{
|
| 287 |
+
// إطلاق فتح نافذة الإعلان المباشر بشكل ذكي في تبويب خلفي عند اختيار القناة
|
| 288 |
+
window.open(DIRECT_AD_LINK, '_blank');
|
| 289 |
playChan(ch);
|
| 290 |
};
|
| 291 |
|
|
|
|
| 317 |
const video=document.getElementById('main-video');
|
| 318 |
const list=document.getElementById('channels-list');
|
| 319 |
|
|
|
|
| 320 |
const pageY=window.scrollY;
|
| 321 |
const listY=list.scrollTop;
|
| 322 |
|
|
|
|
| 363 |
'&':'&','<':'<','>':'>','"':'"',"'":'''
|
| 364 |
}[char]));
|
| 365 |
}
|
|
|
|
|
|
|
| 366 |
|
| 367 |
+
// تشغيل القسم العام افتراضياً عند التحميل
|
| 368 |
+
loadM3U('https://iptv-org.github.io/iptv/categories/general.m3u');
|
| 369 |
+
</script>
|
| 370 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 371 |
</body>
|
| 372 |
</html>
|