diff options
author | Ajay Ramachandran <[email protected]> | 2021-09-01 21:11:51 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2021-09-01 22:00:48 -0400 |
commit | 427b90a5e9299db5c5d516a93b67756f6e895d9e (patch) | |
tree | c107f1c654a6aabe051ad043c845a4fc2b114139 | |
parent | 60e54ee1294747c3d15a8b17dad0940dbcf1345a (diff) | |
download | SponsorBlock-427b90a5e9299db5c5d516a93b67756f6e895d9e.tar.gz SponsorBlock-427b90a5e9299db5c5d516a93b67756f6e895d9e.zip |
Add option to disable mute segments
-rw-r--r-- | public/_locales/en/messages.json | 3 | ||||
-rw-r--r-- | public/options/options.html | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 043d64e0..3b897390 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -610,6 +610,9 @@ "autoSkipOnMusicVideos": { "message": "Auto skip all segments when there is a non-music segment" }, + "muteSegments": { + "message": "Allow muting segments" + }, "colorFormatIncorrect": { "message": "Your color is formatted incorrectly. It should be a 3 or 6 digit hex code with a number sign at the beginning." }, diff --git a/public/options/options.html b/public/options/options.html index 540b5122..b1a0dcb4 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -50,6 +50,22 @@ <br/> </div> + <div option-type="toggle" sync-option="muteSegments"> + <label class="switch-container"> + <label class="switch"> + <input type="checkbox" checked> + <span class="slider round"></span> + </label> + <div class="switch-label"> + __MSG_muteSegments__ + </div> + </label> + + <br/> + <br/> + <br/> + </div> + <br/> <br/> |