Để sử dụng toàn bộ tiện ích nâng cao của Hệ Thống Pháp Luật vui lòng lựa chọn và đăng ký gói cước.
BỘ NỘI VỤ | CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM |
Số: 2489/BNV-CCVC | Hà Nội, ngày 26 tháng 5 năm 2023 |
Kính gửi: | - Bộ, cơ quan ngang bộ, cơ quan thuộc Chính phủ |
Thực hiện quy định của Đảng và của pháp luậtThực hiện ý kiến chỉ đạo của Phó Thủ tướng Chính phủ Trần Lưu Quang tại Công văn số 1629/VPCP-QHĐPTrân trọng cảm ơn sự phối hợp của Quý Cơ quan./.
| KT. BỘ TRƯỞNG |
= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight); const isInTabNoiDung = $(element).closest('#tab_noi_dung_vb').length > 0; return isInViewport && isInTabNoiDung; } function getAddress(element) { const validTags = ['trichyeu', 'cancu', 'phan', 'chuong', 'muc', 'tieumuc', 'dieu', 'khoan', 'diem']; let parent = element.closest(validTags.join(',')); return parent ? $(parent).attr('address') : null; } function processTnplClasses($element) { const tnplTextsInLine = new Set(); $element.find('tnpl').each(function () { const $tnpl = $(this); const tnplText = $tnpl.text().trim().toLowerCase(); if (tnplTextsInLine.has(tnplText)) { return; } tnplTextsInLine.add(tnplText); let tnplExists = false; $('tnpl').each(function () { const $existingTnpl = $(this); const existingText = $existingTnpl.text().trim().toLowerCase(); if ( existingText === tnplText && $existingTnpl.hasClass('on') && isInViewportAndTabNoiDung($existingTnpl[0]) ) { tnplExists = true; return false; } }); if (!tnplExists) { $tnpl.addClass('on'); } }); } function processQueue() { while (pendingRequests < maxConcurrentRequests && requestQueue.length > 0) { const task = requestQueue.shift(); pendingRequests++; task() .always(() => { pendingRequests--; processQueue(); }); } } function processVisibleParagraphs() { $('#tab_noi_dung_vb p:not([is-posted="1"])').each(function () { let $element = $(this); if (isInViewportAndTabNoiDung(this)) { let p_innerHTML = $element.html(); let address = null; if (cac_cau_hinh.loai_noi_dung.includes('docs')) { address = getAddress($element); } $element.attr('is-posted', '1'); requestQueue.push(() => $.post( '//tnpl' + (Math.floor(Math.random() * 10) + 1) + '.hethongphapluat.com/tien-ich/tim.tien.ich.php', { p_content: p_innerHTML, cac_cau_hinh, address }, function (response) { $element.html(response); processTnplClasses($element); } ) ); processQueue(); } }); } $(window).on('scroll resize', function () { processVisibleParagraphs(); }); processVisibleParagraphs(); });