Video Overlay Vanisher

A tool to eliminate web video player overlays with Shift+D.

当前为 2023-05-17 提交的版本,查看 最新版本

作者
𝖢𝖸 𝖥𝗎𝗇𝗀
评分
0 0 0
版本
1.2.2
创建于
2021-07-05
更新于
2023-05-17
大小
14.8 KB
许可证
MIT
适用于
所有网站

Shift-D to toggle all the "floating elements" overlaying the video player (controls, danmaku, etc.)

Shift-Dを押すと、ビデオプレーヤーに重なるすべての「フローティング要素」がトグル切り替わります(コントロール弾幕など)。

Works for all websites, including videos inside iframe.

Script Description (generated by ChatGPT)

The "Video Overlay Vanisher" is a user script designed to improve your web video watching experience by providing a tool to hide video player overlays. This script is compatible with most websites, but excludes some specific sites or file types like live chats on YouTube and image or text file URLs.

How it works:

  1. Shortcut Activation: By pressing the Shift+D keys together, you can activate the script to scan for any video player overlays that may be covering your video content. It's designed not to interfere when you're typing in text fields.

  2. Overlay Detection: The script intelligently observes the webpage and detects any new elements that may be overlays on your video player. It particularly identifies elements that are absolutely or fixed positioned, which are typically overlay components.

  3. Video Element Detection: The script identifies the video element on the webpage that you're interacting with, considering elements within iframes as well. This way, it ensures that it targets overlays on the correct video player.

  4. Overlay Removal: Once activated, the script works to hide the detected overlays, providing you a cleaner video watching experience. The removal is temporary and does not modify the webpage permanently.

  5. Unhide Overlays: You can reveal the hidden overlays anytime by pressing Shift+D again.

The script runs automatically on the start of each webpage (document-start), but its overlay hiding function only activates when you use the Shift+D shortcut. It's a handy tool for users who frequently watch web videos and prefer a distraction-free viewing experience.

YouTube as an example:

QingJ © 2025

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