1const fetchDomain = document.querySelector('meta[name="fetch_domain_url"]')?.content; 2const fetchDomainImg = document.querySelector('meta[name="fetch_url_image"]')?.content; 3const fetchDomainQc = document.querySelector('meta[name="fetch_url_qc"]')?.content; 4const disable_fl = document.querySelector('meta[name="disable_fl"]')?.content; 5const _6in1_max_leagues = document.querySelector('meta[name="_6in1_max_leagues"]')?.content; 6const _rate_max_leagues = document.querySelector('meta[name="_rate_max_leagues"]')?.content; 7const _result_max_leagues = document.querySelector('meta[name="_result_max_leagues"]')?.content; 8const _fixture_max_leagues = document.querySelector('meta[name="_fixture_max_leagues"]')?.content; 9const Checkbox_hide_action = document.querySelector('meta[name="Checkbox_hide_action"]')?.content; 10const _detail_url = document.querySelector('meta[name="_detail_url"]')?.content; 11var _appModule = 'Thai'; 12var __APP_DOMAIN__ = "SportPlugin"; 13window.config = { 14 "appName": "SportPlugin", 15 "locale": "vn", 16 "locales": ["en", "vn", "id", "th", "vi"], 17 "url": fetchDomain, 18 isPlugin: true, 19}; 20 21function getCookiex(name) { 22 const value = document.cookie.match('(^|;)\\s*' + name + '=([^;]*)'); 23 return value ? decodeURIComponent(value.pop()) : null; 24} 25 26function setCookiex(name, value, days, domain) { 27 let expires = ""; 28 if (days) { 29 const date = new Date(); 30 date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000); 31 expires = "; expires=" + date.toUTCString(); 32 } 33 34 // nếu không truyá»n domain thì tá»± lấy từ host hiá»n tại và thêm dấu chấm 35 if (!domain) { 36 const host = window.location.hostname; 37 domain = "." + host.replace(/^www\./, ""); 38 } 39 40 document.cookie = 41 name + "=" + encodeURIComponent(value || "") + 42 expires + "; path=/" + "; domain=" + domain; 43} 44 45 46var oddsTypeMb = getCookiex("Odds_Type"); 47 48// Nếu chưa có cookie thì set mặc Äá»nh 49if (!oddsTypeMb) { 50 oddsTypeMb = 5; // giá trá» mặc Äá»nh bạn muá»n 51 setCookiex("Odds_Type", oddsTypeMb, 7); // và dụ set 7 ngà y 52} 53var _imgS3 = fetchDomainImg; 54let img_domain = fetchDomainImg; 55window.img_domain = fetchDomainImg; 56 57var dbUrl = fetchDomain; 58var _url_s3 = fetchDomain; 59 60var _appDomain = "https://bongdako.net"; 61var _databaseDomain = "https://data.bongdako.net"; 62 63window.banner_enable = Boolean(1); 64window.show_live_animation = Boolean(1); 65window._detail_url = _detail_url; 66window._fetchDomainQc = fetchDomainQc; 67window._6in1_max_leagues = _6in1_max_leagues; 68window._rate_max_leagues = _rate_max_leagues; 69window._result_max_leagues = _result_max_leagues; 70window._fixture_max_leagues = _fixture_max_leagues; 71window.Checkbox_hide_action = Checkbox_hide_action == 1 ? 1 : 0; 72if (disable_fl == 1) { 73 document.addEventListener('DOMContentLoaded', function () { 74 var targetNode = document.getElementById('scrollIframe'); 75 76 if (!targetNode) return; 77 78 var observer = new MutationObserver(function () { 79 // Thêm rel="nofollow noindex" cho các thẻ <a> 80 var links = targetNode.querySelectorAll('a'); 81 links.forEach(function (link) { 82 if (link.rel === 'noopener noreferrer nofollow') return; 83 84 if(!link.dataset.livestream) { 85 link.setAttribute('rel', 'nofollow noindex'); 86 } 87 }); 88 89 // Thêm rel="noindex" cho các thẻ <img> 90 var images = targetNode.querySelectorAll('img'); 91 images.forEach(function (img) { 92 img.setAttribute('rel', 'noindex'); 93 }); 94 }); 95 96 observer.observe(targetNode, {childList: true, subtree: true}); 97 }); 98 99 100} 101document.addEventListener('DOMContentLoaded', function () { 102 // Lấy tất cả thẻ <a> có class 'analyze-icon' 103 var links = document.querySelectorAll('a.analyze-icon'); 104 105 // Duyá»t qua từng phần tá» và xóa thuá»c tÃnh title 106 links.forEach(function (link) { 107 link.removeAttribute('title'); 108 }); 109}); 110 111const seen = new Set(); 112document.querySelectorAll('.dropdown-menu-inner [data-id]').forEach(el => { 113 if (seen.has(el.dataset.id)) { 114 el.remove(); // Xoá phần tá» trùng 115 } else { 116 console.log(el.dataset.id) 117 seen.add(el.dataset.id); 118 } 119});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.