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

知乎专栏(貌似很多网站都这样)gif,视频显示不正常 #894

Closed
xiajunwen1007 opened this issue Aug 17, 2020 · 5 comments
Closed

Comments

@xiajunwen1007
Copy link

设备信息:

操作系统:win10
浏览器:edge最新版
插件版本:1.1.4
其余信息:已关闭浏览器插件和简悦插件

问题描述:

非常喜欢大大的插件,现在基本上看东西都会直接用简悦生成阅读模式。无意中发现gif和视频都无法在阅读模式显示,比较影响阅读,不知道大大有没有意向解决。看过之前的issues发现知乎gif显示问题已经解决,但是实测发现貌似又不行了。

问题复现

https://zhuanlan.zhihu.com/p/127874326 这篇知乎专栏里面有gif和视频,生成阅读模式后都无法查看。

截图

gif无法显示:
image

@Kenshin
Copy link
Owner

Kenshin commented Aug 18, 2020

嗨,谢谢反馈。
之前说的 gif 问题解决了 指的是生成后 gif 会有多张图片的问题,而非你提的问题。

我简单的看了下,可以解决,只是暂时以插件的形式来发布,解决后会通知你的。

补充下,每个网站的问题都不一样,我只能先解决知乎的问题,其余网站的问题,你可以再提 Issues

binsee pushed a commit to binsee/simpread that referenced this issue Sep 5, 2020
@binsee binsee mentioned this issue Sep 5, 2020
@binsee
Copy link
Contributor

binsee commented Sep 5, 2020

使用如下适配规则可解决:

{
    "name"    : "zhuanlan.zhihu.com",
    "url"     : "https://zhuanlan.zhihu.com/p/",
    "title"   : "<h1 class='Post-Title'>",
    "desc"    : "",
    "include" : "[[[(function(){$('.ztext-gif').each(function(){if(this.src.match(/.jpg$/))this.src=this.src.replace(/.jpg$/,'.gif')});return $('.Post-RichText');}())]]]",
    "exclude" : [
        ""
    ]
}

@Kenshin
Copy link
Owner

Kenshin commented Sep 6, 2020

嗨,适配列表已经更新,你可以通过下图的方式更新它

选项页 → 站点管理 → 手动更新适配列表

image

同步后,适配应该是

image


我将关闭此 Issues

@Kenshin Kenshin closed this as completed Sep 6, 2020
@Kenshin
Copy link
Owner

Kenshin commented Sep 20, 2021

嗨,我这几天整理了知乎相关的全部问题,如果经常使用知乎的话,建议看下。

修复/优化的内容包括:gif 动画 / 知乎公式 / 问答页的描述 / 图片重复 / 惰性加载图片等。

如何配置

  1. 升级官方适配源 如何手动更新官方主适配源 #2870

  2. 安装此插件 [Plugin]知乎阅读辅助增强 #2860

  3. 更多细节请看 完美适配知乎专栏与问答页 #2869

@Kenshin
Copy link
Owner

Kenshin commented Jul 10, 2023

zhihu@cover

嗨,知乎辅助增强插件 升级到 2.0.0,基本上彻底解决了你提到的这个问题。

2.0.0 功能说明

截图

包括:导入到 Obsidian 、PDF 、在稍后读查看知乎公式、导出 HTML 等。

pika-1688973561715-1x

pika-1688973547744-1x

pika-1688973529299-1x

pika-1688973515027-1x

pika-1688973508763-1x

关联

#2860

安装与升级

  • 没有【使用同步助手 · 自动同步】的话,可通过此链接 安装。

  • 已经【使用同步助手 · 自动同步】的话,请使用 插件管理器 安装。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants