mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-01-01 06:09:30 +03:00
496 lines
14 KiB
HTML
496 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<head>
|
|
<title>Options - SponsorBlock</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<link href="options.css" rel="stylesheet"/>
|
|
|
|
<script src="../js/vendor.js"></script>
|
|
<script src="../js/options.js"></script>
|
|
</head>
|
|
|
|
<body class="sponsorBlockPageBody">
|
|
|
|
<div id="options-container">
|
|
|
|
<div id="navigation" class="center">
|
|
|
|
<div id="title" class="titleBar">
|
|
<img src="../icons/LogoSponsorBlocker256px.png" class="profilepic" alt="SponsorBlock logo"/>
|
|
SponsorBlock
|
|
</div>
|
|
|
|
<div class="tab-heading selected" data-for="segment-options">
|
|
__MSG_optionsTabCategories__
|
|
</div>
|
|
|
|
<div class="tab-heading" data-for="logic-options">
|
|
__MSG_optionsTabBehavior__
|
|
</div>
|
|
|
|
<div class="tab-heading" data-for="interface-options">
|
|
__MSG_optionsTabInterface__
|
|
</div>
|
|
|
|
<div class="tab-heading" data-for="keybind-options">
|
|
__MSG_optionsTabKeyBinds__
|
|
</div>
|
|
|
|
<div class="tab-heading" data-for="privacy-options">
|
|
__MSG_optionsTabPrivacy__
|
|
</div>
|
|
|
|
<div class="tab-heading" data-for="import-options">
|
|
__MSG_optionsTabBackup__
|
|
</div>
|
|
|
|
<div class="tab-heading" data-for="advanced-options">
|
|
__MSG_optionsTabAdvanced__
|
|
</div>
|
|
|
|
<p id="createdBy" class="titleBar">
|
|
<img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle" alt="profile picture of creator"/>
|
|
__MSG_createdBy__
|
|
<a href="https://ajay.app">Ajay Ramachandran</a>
|
|
<a href="https://sponsor.ajay.app/donate" target="_blank" rel="noopener" id="sbDonate">(__MSG_Donate__)</a>
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div id="options">
|
|
|
|
<div id="segment-options" class="option-group">
|
|
|
|
<div id="category-type" data-type="react-CategoryChooserComponent">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="logic-options" class="option-group hidden">
|
|
|
|
<div data-type="toggle" data-sync="autoSkipOnMusicVideos">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_autoSkipOnMusicVideos__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-sync="muteSegments">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_muteSegments__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="number-change" data-sync="minDuration">
|
|
<label class="number-container">
|
|
<input type="number" step="0.1" min="0">
|
|
</label>
|
|
|
|
<div class="small-description">__MSG_minDurationDescription__</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-sync="forceChannelCheck">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_forceChannelCheck__
|
|
</div>
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_whatForceChannelCheck__</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-sync="refetchWhenNotFound">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_enableRefetchWhenNotFound__
|
|
</div>
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_whatRefetchWhenNotFound__</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="interface-options" class="option-group hidden">
|
|
|
|
<div data-type="number-change" data-sync="skipNoticeDuration">
|
|
<label class="number-container">
|
|
<input type="number" step="1" min="1">
|
|
</label>
|
|
|
|
<div class="small-description">__MSG_skipNoticeDurationDescription__</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="dontShowNotice">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_showSkipNotice__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="selector" data-sync="noticeVisibilityMode">
|
|
<select class="selector-element optionsSelector" >
|
|
<option value="0">__MSG_noticeVisibilityMode0__</option>
|
|
<option value="1">__MSG_noticeVisibilityMode1__</option>
|
|
<option value="2">__MSG_noticeVisibilityMode2__</option>
|
|
<option value="3">__MSG_noticeVisibilityMode3__</option>
|
|
<option value="4">__MSG_noticeVisibilityMode4__</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideVideoPlayerControls">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_showButtons__
|
|
</div>
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_hideButtonsDescription__</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideSkipButtonPlayerControls">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_showSkipButton__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideInfoButtonPlayerControls">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_showInfoButton__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-sync="autoHideInfoButton" data-dependent-on="hideInfoButtonPlayerControls">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_autoHideInfoButton__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideDeleteButtonPlayerControls">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_showDeleteButton__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="hideUploadButtonPlayerControls">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_showUploadButton__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-sync="audioNotificationOnSkip">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_audioNotification__
|
|
</div>
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_audioNotificationDescription__</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-sync="showTimeWithSkips">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_showTimeWithSkips__
|
|
</div>
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_showTimeWithSkipsDescription__</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-toggle-type="reverse" data-sync="showDonationLink" data-no-safari="true">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_hideDonationLink__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="keybind-options" class="option-group hidden">
|
|
|
|
<div data-type="keybind-change" data-sync="skipKeybind">
|
|
<div class="option-button trigger-button">
|
|
__MSG_setSkipShortcut__
|
|
</div>
|
|
|
|
<div class="option-hidden-section hidden">
|
|
<div class="medium-description keybind-status">
|
|
__MSG_keybindDescription__
|
|
</div>
|
|
|
|
<span class="medium-description bold keybind-status-key">
|
|
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="keybind-change" data-sync="startSponsorKeybind">
|
|
<div class="option-button trigger-button">
|
|
__MSG_setStartSponsorShortcut__
|
|
</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>
|
|
|
|
<div data-type="keybind-change" data-sync="submitKeybind">
|
|
<div class="option-button trigger-button">
|
|
__MSG_setSubmitKeybind__
|
|
</div>
|
|
|
|
<div class="option-hidden-section hidden">
|
|
<div class="medium-description keybind-status">
|
|
__MSG_keybindDescription__
|
|
</div>
|
|
|
|
<span class="medium-description bold keybind-status-key">
|
|
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="privacy-options" class="option-group hidden">
|
|
|
|
<div data-type="toggle" data-sync="trackViewCount">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_enableViewTracking__
|
|
</div>
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_whatViewTracking__</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-sync="trackViewCountInPrivate" data-private-only="true">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox" checked>
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_enableViewTrackingInPrivate__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="import-options" class="option-group hidden">
|
|
|
|
<div data-type="private-text-change" data-sync="userID" data-confirm-message="userIDChangeWarning">
|
|
<div class="option-button trigger-button">
|
|
__MSG_changeUserID__
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_whatChangeUserID__</div>
|
|
|
|
<div class="option-hidden-section hidden">
|
|
<input class="option-text-box" type="text">
|
|
|
|
<div class="option-button text-change-set">
|
|
__MSG_setUserID__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="private-text-change" data-sync="*" data-confirm-message="exportOptionsWarning">
|
|
<div class="option-button trigger-button">
|
|
__MSG_exportOptions__
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_whatExportOptions__</div>
|
|
|
|
<div class="option-hidden-section hidden">
|
|
<input class="option-text-box" type="text">
|
|
|
|
<div class="option-button text-change-set">
|
|
__MSG_setOptions__
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="advanced-options" class="option-group hidden">
|
|
|
|
<div id="support-invidious" data-type="toggle" data-sync="supportInvidious" data-no-safari="true">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox">
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_supportOtherSites__
|
|
</div>
|
|
</div>
|
|
|
|
<div class="small-description">(__MSG_supportedSites__ Invidious, CloudTube)</div>
|
|
<br/>
|
|
<span class="small-description">__MSG_supportOtherSitesDescription__ </span>
|
|
</div>
|
|
|
|
<div data-type="private-text-change" data-sync="invidiousInstances" data-no-safari="true">
|
|
<div class="option-button trigger-button">
|
|
__MSG_addInvidiousInstance__
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_addInvidiousInstanceDescription__</div>
|
|
|
|
<div class="option-hidden-section hidden">
|
|
<input class="option-text-box" type="text">
|
|
|
|
<div>
|
|
<div class="option-button text-change-set inline">
|
|
__MSG_add__
|
|
</div>
|
|
|
|
<div class="option-button invidious-instance-reset inline">
|
|
__MSG_resetInvidiousInstance__
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<span class="small-description">__MSG_currentInstances__</span>
|
|
<span class="small-description" data-type="display" data-sync="invidiousInstances"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-type="button-press" data-sync="copyDebugInformation" data-confirm-message="copyDebugInformation">
|
|
<div class="option-button trigger-button">
|
|
__MSG_copyDebugInformation__
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_copyDebugInformationOptions__</div>
|
|
</div>
|
|
|
|
<div data-type="toggle" data-sync="testingServer" data-confirm-message="testingServerWarning" data-no-safari="true">
|
|
<div class="switch-container">
|
|
<label class="switch">
|
|
<input type="checkbox">
|
|
<span class="slider round"></span>
|
|
</label>
|
|
<div class="switch-label">
|
|
__MSG_enableTestingServer__
|
|
</div>
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_whatEnableTestingServer__</div>
|
|
</div>
|
|
|
|
<div data-type="text-change" data-sync="serverAddress">
|
|
<div class="text-label-container inline">
|
|
<div>__MSG_customServerAddress__</div>
|
|
|
|
<input class="option-text-box" type="text">
|
|
</div>
|
|
|
|
<div class="option-button text-change-set inline">
|
|
__MSG_save__
|
|
</div>
|
|
|
|
<div class="option-button text-change-reset inline">
|
|
__MSG_reset__
|
|
</div>
|
|
|
|
<div class="small-description">__MSG_customServerAddressDescription__</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|