https://nowgoal806.com/wp-content/plugins/gwd-config-banner/assets/js/gwd-bongdalu.js?ver=1789734501
1(function ($) { 2 'use strict'; 3 4 const RAW = window.GWD_CONFIG_BANNER || {}; 5 const CONFIG = RAW?.data?.data || {}; 6 7 function renderReviveAd(selector, zoneId, reviveId = '1718ffff6aff14155bf9e84ffb3a29ee') { 8 9 const $container = $(selector); 10 11 if (!$container.length || !zoneId) { 12 return; 13 } 14 15 const hasAd = $container.find('ins[data-revive-zoneid]').length; 16 17 if (hasAd) { 18 return; 19 } 20 21 $container.empty().append(` 22 <ins 23 data-revive-zoneid="${zoneId}" 24 data-revive-id="${reviveId}"> 25 </ins> 26 `); 27 } 28 29 30 function observeElement(selector, callback) { 31 32 const observer = new MutationObserver(() => { 33 const element = document.querySelector(selector); 34 35 if (element) { 36 callback(element); 37 } 38 }); 39 40 observer.observe(document.body, { 41 childList: true, 42 subtree: true 43 }); 44 45 // check ngay nếu Äã tá»n tại 46 const element = document.querySelector(selector); 47 48 if (element) { 49 callback(element); 50 } 51 } 52 53 54 const REVIVE_ZONES = { 55 '#PC_LEFT1': 'rectangle-left-1', 56 '#div_banner_float_top' : 'rectangle-right-1', 57 '#left_float_banner' : 'rectangle-left-2', 58 '#div_banner_float' : 'rectangle-right-2', 59 '#left_gutter' : 'sidebar-left', 60 '#right_gutter' : 'sidebar-right', 61 }; 62 63 64 Object.entries(REVIVE_ZONES).forEach(([selector, configKey]) => { 65 66 observeElement(selector, () => { 67 renderReviveAd( 68 selector, 69 CONFIG[configKey] 70 ); 71 }); 72 73 }); 74 75 76})(jQuery);
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.