j6j6.top
Open in
urlscan Pro
172.67.160.120
Public Scan
URL:
https://j6j6.top/js/footer.js
Submission: On December 20 via api from US — Scanned from US
Submission: On December 20 via api from US — Scanned from US
Form analysis
0 forms found in the DOMText Content
$(document).ready(function () { //img lazy loaded const observer = lozad(); observer.observe(); $(document).on('click', '.has-sub', function () { var _this = $(this) if (!$(this).hasClass('expanded')) { setTimeout(function () { _this.find('ul').attr("style", "") }, 300); } else { $('.has-sub ul').each(function (id, ele) { var _that = $(this) if (_this.find('ul')[0] != ele && !expandAll) { setTimeout(function () { _that.attr("style", "") }, 300); } }) } }) $('.user-info-menu .hidden-sm').click(function () { if ($('.sidebar-menu').hasClass('collapsed')) { $('.has-sub.expanded > ul').attr("style", "") } else { $('.has-sub.expanded > ul').show() } }) $("#main-menu li ul li").click(function () { $(this).siblings('li').removeClass('active'); // åˆ é™¤å…¶ä»–å…„å¼Ÿå…ƒç´ çš„æ ·å¼ $(this).addClass('active'); // æ·»åŠ å½“å‰å…ƒç´ çš„æ ·å¼ }); $("a.smooth").click(function (ev) { ev.preventDefault(); public_vars.$mainMenu.add(public_vars.$sidebarProfile).toggleClass('mobile-is-visible'); ps_destroy(); $("html, body").animate({ scrollTop: $($(this).attr("href")).offset().top - 30 }, { duration: 500, easing: "swing" }); }); return false; }); var href = ""; var pos = 0; $("a.smooth").click(function (e) { $("#main-menu li").each(function () { $(this).removeClass("active"); }); $(this).parent("li").addClass("active"); e.preventDefault(); href = $(this).attr("href"); pos = $(href).position().top - 30; }); (function () { if (document.cookie.replace(/(?:(?:^|.*;\s*)night\s*\=\s*([^;]*).*$)|^.*$/, "$1") === '') { if (new Date().getHours() > 22 || new Date().getHours() < 6) { document.body.classList.add('night'); document.cookie = "night=1;path=/"; console.log('夜间模å¼å¼€å¯'); } else { document.body.classList.remove('night'); document.cookie = "night=0;path=/"; console.log('夜间模å¼å…³é—'); } } else { var night = document.cookie.replace(/(?:(?:^|.*;\s*)night\s*\=\s*([^;]*).*$)|^.*$/, "$1") || '0'; if (night == '0') { document.body.classList.remove('night'); } else if (night == '1') { document.body.classList.add('night'); } } })();