diff options
author | Ajay Ramachandran <[email protected]> | 2021-01-17 14:25:45 -0500 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2021-01-17 14:25:45 -0500 |
commit | e269b1aec605ae5afb55572cb9a0177529862209 (patch) | |
tree | e96855685ea6c0b433d7045e0ce2d1d49fa71f4f /public | |
parent | ff0dc6e5706ffae19502b192061189c6e0c2199f (diff) | |
download | SponsorBlock-e269b1aec605ae5afb55572cb9a0177529862209.tar.gz SponsorBlock-e269b1aec605ae5afb55572cb9a0177529862209.zip |
Add skip keybind
https://github.com/ajayyy/SponsorBlock/issues/299
Diffstat (limited to 'public')
-rw-r--r-- | public/_locales/en/messages.json | 3 | ||||
-rw-r--r-- | public/options/options.html | 21 |
2 files changed, 24 insertions, 0 deletions
diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 0a761cf5..d631d2cc 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -232,6 +232,9 @@ "message": "If you still don't like it, hit the never show button.", "description": "The second line of the message displayed after the notice was upgraded." }, + "setSkipShortcut": { + "message": "Set key for skipping a segment" + }, "setStartSponsorShortcut": { "message": "Set key for start segment keybind" }, diff --git a/public/options/options.html b/public/options/options.html index 68c28cbd..5907c07b 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -83,6 +83,27 @@ <br/> <br/> + + <div option-type="keybind-change" sync-option="skipKeybind"> + <div class="option-button trigger-button"> + __MSG_setSkipShortcut__ + </div> + + <div class="option-hidden-section hidden"> + <br/> + + <div class="medium-description keybind-status"> + __MSG_keybindDescription__ + </div> + + <span class="medium-description bold keybind-status-key"> + + </span> + </div> + </div> + + <br/> + <br/> <div option-type="keybind-change" sync-option="startSponsorKeybind"> <div class="option-button trigger-button"> |