Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

出现about:blank#blocked空白页面 #212

Closed
iven13465 opened this issue Nov 1, 2022 · 4 comments
Closed

出现about:blank#blocked空白页面 #212

iven13465 opened this issue Nov 1, 2022 · 4 comments

Comments

@iven13465
Copy link

问题描述及如何重现此问题

点击上一页和下一页这类按钮会在新标签页打开about:blank#blocked空白页面

报错信息(建议使用截图,请尽量截取全部把错误信息)

image
好像是这个target="_blank"的问题,但文件中的相关代码没有问题啊
image

插件版本

1.8.3 主题:matery

环境信息(使用hexo -v命令查看)

$ hexo -v
INFO  Validating config
hexo: 6.2.0
hexo-cli: 4.3.0
os: win32 10.0.22000
node: 16.15.0
v8: 9.4.146.24-node.20
uv: 1.43.0
zlib: 1.2.11
brotli: 1.0.9
ares: 1.18.1
modules: 93
nghttp2: 1.47.0
napi: 8
llhttp: 6.0.4
openssl: 1.1.1n+quic
cldr: 40.0
icu: 70.1
tz: 2021a3
unicode: 14.0
ngtcp2: 0.1.0-DEV
nghttp3: 0.1.0-DEV
@iven13465 iven13465 added the bug Something isn't working label Nov 1, 2022
@HCLonely HCLonely removed the bug Something isn't working label Nov 2, 2022
@HCLonely
Copy link
Owner

HCLonely commented Nov 2, 2022

这是主题自动将target改成_blank了

@bilibiliworld
Copy link

这是主题自动将target改成_blank了

应该怎么修改呢?

@HCLonely
Copy link
Owner

这是主题自动将target改成_blank了

应该怎么修改呢?

去问主题作者

@bilibiliworld
Copy link

就matery主题来说,解决办法是删除source/js/matery.js里的$('#articleContent a').attr('target', '_blank');这一行

@HCLonely HCLonely changed the title [Bug]: 出现about:blank#blocked空白页面 出现about:blank#blocked空白页面 Sep 8, 2023
@HCLonely HCLonely pinned this issue Sep 8, 2023
@HCLonely HCLonely closed this as completed Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants