summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormayx2025-07-29 04:20:42 +0000
committermayx2025-07-29 04:20:42 +0000
commitf401d33c482645e18218f3730fd4966431afc123 (patch)
treef5697681be610aa5aeb3c382ad24788bae50b7d5
parent4475fd7ffe4bff8d1b587c672ed8231ce9a1ab0a (diff)
Update 2 files
- /index.html - /proxylist.md
-rw-r--r--index.html2
-rw-r--r--proxylist.md6
2 files changed, 4 insertions, 4 deletions
diff --git a/index.html b/index.html
index b74e337..132ccd3 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,7 @@ image: https://screenshot.mayx.eu.org/
---
{% if paginator.page == 1 %}<div class="hslice" id="LatestPost">{% endif %}
-<h1 class="entry-title" style="display:inline"> 首页 - 我的文章 </h1><small><a href="/archives.html">Archives</a> | <a href="javascript:getSearchJSON(function(data){window.location = data[Math.floor(Math.random()*data.length)].url})">Random</a></small><br /><br />
+<h1 class="entry-title" style="display:inline"> 首页 - 我的文章 </h1><small><a href="/archives.html">Archives</a> | <a href="javascript:getSearchJSON(function(data){location=data[Math.floor(Math.random()*data.length)].url})">Random</a></small><br /><br />
<hr />
diff --git a/proxylist.md b/proxylist.md
index 829bbbe..ca9f341 100644
--- a/proxylist.md
+++ b/proxylist.md
@@ -3,19 +3,19 @@ layout: default
title: 代理列表
---
- 源站:<https://mabbs.github.io> <img src="https://mabbs.github.io/images/online.svg" style="width:22px;vertical-align: bottom" onerror="$(this).replaceWith('ⓧ')"/>
+ 源站:<https://mabbs.github.io> <img src="https://mabbs.github.io/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.outerHTML='ⓧ'"/>
# 代理列表
考虑到中国对于Github Pages在很多地区都有一定程度的解析异常,所以我为我的博客做了很多反向代理。以下代理站均为官方授权:
(根据可能的可用性排序)
-{% for item in site.data.proxylist.proxies %}- <{{ item }}> <img src="{{ item }}images/online.svg" style="width:22px;vertical-align: bottom" onerror="$(this).replaceWith('ⓧ')"/>
+{% for item in site.data.proxylist.proxies %}- <{{ item }}> <img src="{{ item }}images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.outerHTML='ⓧ'"/>
{% endfor %}
# 镜像列表
由于[Github已经不再可信](/2022/01/04/banned.html),所以现在提供以下镜像站:
-{% for item in site.data.proxylist.mirrors %}- <{{ item }}> <img src="{{ item }}images/online.svg" style="width:22px;vertical-align: bottom" onerror="$(this).replaceWith('ⓧ')"/>
+{% for item in site.data.proxylist.mirrors %}- <{{ item }}> <img src="{{ item }}images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.outerHTML='ⓧ'"/>
{% endfor %}
# Git列表