From 1b4fd0de9b6051d2edb1fb9d59399ecef7411024 Mon Sep 17 00:00:00 2001 From: mayx Date: Wed, 2 Apr 2025 18:17:34 +0000 Subject: Update 2 files - /js/main.js - /search.html--- js/main.js | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'js') diff --git a/js/main.js b/js/main.js index ad460a2..72c46a0 100644 --- a/js/main.js +++ b/js/main.js @@ -41,6 +41,50 @@ $(function () { } }); +$(function() { + function getQueryVariable(variable){ + var query = window.location.search.substring(1); + var vars = query.split("&"); + for (var i=0;i$1'); + $this.replaceWith(replaced); + } + } else if ( + this.nodeType === Node.ELEMENT_NODE && + !$(this).is('script, style, noscript, textarea') + ) { + highlightTextNodes(this); + } + }); + } + + $('section').each(function() { + highlightTextNodes(this); + }); +}); + today = new Date(); timeold = (today.getTime() - lastUpdated.getTime()); secondsold = Math.floor(timeold / 1000); -- cgit 1.4.1-2-gfad0