0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

YouTubeの動画などを高速で視聴する

Last updated at Posted at 2025-09-26

以下のjavascriptをブラウザのデベロッパーツール(一般的にはF12キーで開く)でConsoleに貼り付けて実行

1.0~5.0まで0.2刻みで速度が選択できます
キャンセルしたいときは、表示された部分の一部をクリックすると閉じます

ブックマークレットにして、ブックマークとして保存すると便利です

参考

javascript
javascript: (function () {
  const video = document.querySelector("video");
  if (video === null) return;
  const container = document.createElement("div");
  container.style.cssText = "position:fixed;top:0;left:0;width:100%;padding:16px;background:#fff;border:1px solid #aaa;text-align:center;z-index:19999;";
  container.onclick = function () { this.remove(); };

  const text = document.createElement("span");
  text.textContent = "速度:" + video.playbackRate;
  text.style.cssText = "margin:20px;font-size:20px;";
  container.appendChild(text);

  for (let i = 10; i <= 50; i += 2) {
    const speed = (i / 10).toFixed(1);
    const button = document.createElement("button");
    button.textContent = speed;
    button.style.cssText = "margin:3px;font-size:20px;border:1px solid black;background:#eee";
    button.value = speed;
    button.onclick = changeSpeed;
    container.appendChild(button);
  }

  document.body.appendChild(container);

  function changeSpeed(event) {
    event.stopPropagation();
    video.playbackRate = event.target.value;
    console.log(event.target.value);
    container.remove();
  }
})();
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?