diff options
| author | mayx <mayx@outlook.com> | 2026-05-21 07:38:17 +0000 |
|---|---|---|
| committer | mayx <mayx@outlook.com> | 2026-05-21 07:38:17 +0000 |
| commit | c4ae25dcb16513f76870d07c95ebc94ba6e7cf49 (patch) | |
| tree | 88f925621c8f9927530ba6856c7798bf86b9a96e /assets/js/main.js | |
| parent | 862bffac806a5f7ee0e12cc3f13a36178c003db1 (diff) | |
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
Diffstat (limited to 'assets/js/main.js')
| -rw-r--r-- | assets/js/main.js | 8 |
1 files changed, 7 insertions, 1 deletions
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 |
