XIU2 / XIU2/UserScript

[知乎增强] 默认高清图可能导致图片无法显示

Open
#499 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

反馈问题
Dominant language
JavaScript
Stars
10k
Forks
706
PR merge metrics
No merged PRs in 30d

Description

问题描述

安装知乎增强后,有的图显示不出来。试了下注释掉originalPic,就可以显示图片了,打开这段代码就显示不了
复现地址https://www.zhihu.com/question/22210090

附加截图

image
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem at https://www.zhihu.com/question/22210090, then locate the userscript code that handles originalPic and compare it with the behavior when that code is disabled. Done means the affected images display correctly with the default high-resolution behavior enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.