Adds a repeat button to the HTML5 player to loop over a single track after 1 second delay

Latest Version

Version
0.2.5
Update
July 24, 2024
Size
45.66KiB
Developer
Category
Users
10,000+
Rating
4.61765 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
Scripting
See more

YouTube™ Repeat Button Extension

The \"YouTube Repeat Button\" extension addresses the missing repeat button on the HTML5 YouTube player. By installing this extension, you can have the missing repeat button available. By default, the button is inactive. To repeat a single track, click the button once. When the extension is active, the button's color turns white. In this mode, once the video finishes, the extension pauses the player for one second, seeks the start of the track, and replays it.

Please note that before the 0.2.1 release, this extension only functions in normal playing mode. If a track is in playlist mode and the repeat button is pressed, the extension will suggest switching to the normal playing mode.

Furthermore, the extension is disabled when a new player is opened. If you wish to enable the button, append \"&repeat=true\" to the URL of the YouTube page.

Starting from the 0.2.1 release, the extension utilizes the native loop function and maintains the loop state during navigation between tracks.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "YouTube\u2122 Repeat Button", "description": "Adds a repeat button to the HTML5 player to loop over a single track after 1 second delay", "version": "0.2.5", "manifest_version": 3, "permissions": [ "storage", "scripting" ], "host_permissions": [ "*://www.youtube.com/*" ], "background": { "service_worker": "worker.js" }, "content_scripts": [{ "matches": ["*://www.youtube.com/*"], "js": ["/data/inject.js"], "run_at": "document_start", "all_frames": true }], "homepage_url": "https://webextension.org/listing/youtube-tools.html?from=repeat-button", "icons": { "16": "/data/icons/16.png", "32": "/data/icons/32.png", "48": "/data/icons/48.png", "64": "/data/icons/64.png", "128": "/data/icons/128.png", "256": "/data/icons/256.png", "512": "/data/icons/512.png" }}
Read more