From c4ae25dcb16513f76870d07c95ebc94ba6e7cf49 Mon Sep 17 00:00:00 2001 From: mayx Date: Thu, 21 May 2026 07:38:17 +0000 Subject: Update 10 files - /assets/js/jquery.pjax.min.js - /assets/js/main.js - /assets/js/pjax.js - /_layouts/default.html - /_layouts/post.html - /_data/proxylist.yml - /_data/other_repo_list.csv - /Live2dHistoire/live2d/js/message.js - /index.html - /search.html --- assets/js/main.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'assets/js/main.js') diff --git a/assets/js/main.js b/assets/js/main.js index 556a150..cb11f6e 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -39,7 +39,7 @@ $(function () { "-webkit-filter": "grayscale(100%)", "filter": "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)" }) - $('body').html(function(_, oldHTML) { + $('body').html(function (_, oldHTML) { return oldHTML.replace(/Mayx/g, 'Ghost'); }); console.warn("Mayx may already be Dead"); @@ -66,4 +66,10 @@ function getSearchJSON(callback) { } else { callback(searchData); } +} +if (typeof window.go === 'undefined') { + window.go = function (url) { + window.location.href = url; + return; + } } \ No newline at end of file -- cgit