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 link.setAttribute('rel', 'nofollow noindex'); 83 }); 84 85 // Thêm rel="noindex" cho các thẻ <img> 86 var images = targetNode.querySelectorAll('img'); 87 images.forEach(function (img) { 88 img.setAttribute('rel', 'noindex'); 89 }); 90 }); 91 92 observer.observe(targetNode, {childList: true, subtree: true}); 93 }); 94 95 96} 97document.addEventListener('DOMContentLoaded', function () { 98 // Lấy tất cả thẻ <a> có class 'analyze-icon' 99 var links = document.querySelectorAll('a.analyze-icon'); 100 101 // Duyá»t qua từng phần tá» và xóa thuá»c tÃnh title 102 links.forEach(function (link) { 103 link.removeAttribute('title'); 104 }); 105}); 106 107const seen = new Set(); 108document.querySelectorAll('.dropdown-menu-inner [data-id]').forEach(el => { 109 if (seen.has(el.dataset.id)) { 110 el.remove(); // Xoá phần tá» trùng 111 } else { 112 console.log(el.dataset.id) 113 seen.add(el.dataset.id); 114 } 115});
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.