Rutube - Block Autoplay

Blocks video autoplay on Rutube and in embed players by freezing the player's autoplay behavior.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Vikindor
日安装量
0
总安装量
12
评分
0 0 0
版本
1.0
创建于
2025-08-05
更新于
2025-10-16
大小
1.6 KB
许可证
MIT
适用于

Rutube - Block Autoplay

Userscript for browsers that prevents videos on Rutube from starting automatically. Works both on regular video pages and embedded players.

✨ Features

  • Stops autoplay on Rutube video pages.
  • Stops autoplay in embedded Rutube players.
  • Overrides the native video.play() method to block the first automatic play attempt.

⚙ How it works

  • The script waits until a <video> element appears.
  • It forces autoplay to false and removes the autoplay attribute.
  • On the first call to video.play(), it rejects the promise to prevent autoplay. Any further manual play calls will work normally.