🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Return YouTube Dislike (PC Only)

Desktop-only fork of Return YouTube Dislike. Adds Shorts SPA support, visual like/dislike ratio bar, and a class-based architecture.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

You will need to install an extension such as Tampermonkey to install this script.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

작성자
koyasi777
일일 설치 수
0
총 설치 수
55
평점
0 0 0
버전
4.1.0
생성일
2025-08-02
갱신일
2025-09-06
크기
16.1KB
호환성
Firefox와 호환됩니다. Chrome와 호환됩니다. Opera와 호환됩니다. Safari와 호환됩니다. Edge와 호환됩니다.
라이선스
AGPL-3.0-only
적용 사이트

Return YouTube Dislike (PC Only)

🧭 Overview

This is a desktop-focused fork of the original Return YouTube Dislike userscript, rebuilt with a class-based architecture, enhanced UI elements, and greater reliability for Single Page Application (SPA) navigation on YouTube.

Unlike the original script, this version is designed only for PC environments, and adds several modern features to improve usability and maintainability.


✨ Key Features

  • ✅ Supports Shorts SPA navigation — dislikes remain visible after switching videos.
  • ✅ Displays a like/dislike ratio bar under the buttons (desktop only).
  • Hover tooltip shows accurate like/dislike counts.
  • ✅ Fully object-oriented codebase (ES6 class).
  • MutationObserver + timeout-based initialization — more robust than relying on yt-navigate-finish.
  • DOM element caching for performance and efficiency.
  • ✅ Custom CSS styling — avoids breaking due to YouTube class name changes.

🚀 Installation Guide

  1. Install a userscript manager:

  2. Install the userscript:
    👉 Click here to install

  3. Visit YouTube and open any video — the enhanced dislike interface will activate automatically.


🔄 Why This Fork?

The original userscript is great, but this version introduces key improvements:

Feature Original v3.1.5 This Version (v4.0.7)
Architecture Procedural, global variables ES6 class-based, encapsulated state
SPA Navigation (Shorts) Relies on yt-navigate-finish Uses <title> mutation + timeout fallback
Rating Display Text-only Visual ratio bar with hover tooltip
DOM Handling Repeated queries Cached DOM elements
Asynchronous Code fetch().then() async/await with GM.xmlHttpRequest wrapper
CSS Styling Tied to YouTube classes Fully isolated and scoped CSS
State Reliability Tracks previousState manually Checks actual DOM state per event

📄 License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0), in accordance with the upstream repository.

  • License text
  • You are free to use, modify, and distribute under the terms of this license.

🤝 Attribution


📬 Issues / Contributions

Pull requests and issues are welcome!
Please feel free to report bugs, request features, or fork this further.

👉 Open an issue