PageSourceSearch

https://saqqr.com/wp-content/themes/saqqr-theme2/assets/js/saqqr-header-fix.js?ver=1789163726

js saqqr.com collected 2026-09-24 14:00:25 UTC 848 bytes, 21 lines download raw bytes

1(function(){
2  var root = document.documentElement;
3
4  // فعّل الحالة فور التحميل
5  function apply(){
6    if (window.scrollY > 10) root.classList.add('header-scrolled');
7    else root.classList.remove('header-scrolled');
8  }
9  apply();
10
11  // حدث على التمرير
12  window.addEventListener('scroll', apply, {passive:true});
13
14  // اجعل الهيدر شفاف فقط إذا فيه هيرو في أعلى الصفحة (اختياري)
15  var hasHero = document.querySelector('.hero, .page-hero, .saqqr-hero, [data-hero]');
16  if (hasHero) root.classList.add('has-transparent-header');
17
18  // نبضات إضافية لضمان الغلبة بعد تحميل Elementor/Sticky
19  setTimeout(apply, 50);
20  window.addEventListener('load', function(){ setTimeout(apply, 50); setTimeout(apply, 400); });
21})();

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.