YouTube Video Preview and Ratings Keyless

Instant video previews in popup player by hovering or clicking video thumbs. Video ratings and resolution data shown on the thumbs. Gets video information without using a YouTube API key, which can be banned or limited.

< 脚本 YouTube Video Preview and Ratings Keyless 的反馈

评价:差评 - 脚本失效或无法使用

§
发布于:2022-02-11
编辑于:2022-02-11

YouTube updated the UI and the script no longer works at least on short videos also the options menu icon is missing too.

§
发布于:2023-02-17

Solution for short videos issue was suggested by [Anong0u0](https://gf.qytechs.cn/users/436980-anong0u0) [here](https://gf.qytechs.cn/en/scripts/441709-youtube-anti-shorts/discussions/169130#comment-366347):
change the line 787:
From `const v_id = e.target.firstElementChild?.href?.match(/(?<=v=)[a-zA-Z0-9_-]*/)?.[0];`
To `const v_id = e.target.firstElementChild?.href?.match(/((?<=v=)|(?<=\/shorts\/))[a-zA-Z0-9_-]*/)?.[0];`
change the line 1123:
From `const v_id = thumb.href?.match(/(?<=v=)[a-zA-Z0-9_-]*/)?.[0];`
To `const v_id = thumb.href?.match(/((?<=v=)|(?<=\/shorts\/))[a-zA-Z0-9_-]*/)?.[0];`

The issue with missing options menu icon is still present.

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址