Advanced Skip Options
Jump to navigation
Jump to search
Advanced skip options can be used to change the skip options depending on certain criteria of the submission itself.
Example:
// Skip sponsors at the start of the video
if time.start < 1 and time.end < 10 and category == "sponsor"
Auto Skip
Each block consists of the word "if" along with a number of conditions with "and" in the middle.
The following attributes are supported:
- time.start
- time.end
- timeduration
- time.startPercent
- time.endPercent
- time.durationPercent
- category
- actionType
- chapter.name (the title for chapters)
- chapter.source (to separate sponsorblock chapters from youtube chapters)
- channel.id (ID starting with UC)
- channel.name (plain text name with spaces)
The following operators are supported:
- <
- <=
- >
- >=
- ==
- != (not equal)
- *= (contains text ignore case)
- !*= (not contains ignore case)
- ~= (matches regex)
- ~i= (matches regex ignore case)
- !~= (doesn't match regex)
- !~i= (doesn't match regex ignore case)
The following actions are supported:
- Disabled
- Show Overlay
- Manual Skip
- Auto Skip
The following categories are supported:
- sponsor
- selfpromo
- exclusive_access
- interaction
- poi_highlight
- intro
- outro
- preview
- filler
- chapter
- music_offtopic
The following source values are supported:
- server
- youtube
- autogenerated
- local
More examples
// Auto skip chapters that contain the word bloopers (case insensitive)
if category == "chapter" and chapter.name *= "bloopers"
Auto Skip
// Auto skip chapters that start with the word Intro or intro
if category == "chapter" and chapter.name ~= "^[Ii]ntro"
Auto Skip
// Auto skip chapters that start with the word Intro or intro but only if they are made by the YouTuber
if category == "chapter" and chapter.name ~= "^[Ii]ntro" and chapter.source == "youtube"
Auto Skip
// Auto skip chapters that start with the word Intro or intro but only if they are submitted by a SponsorBlock user
if category == "chapter" and chapter.name ~= "^[Ii]ntro" and chapter.source == "server"
Auto Skip
// Auto skip preview/recap on this specific channel
if category == "preview" and channel.id == "UCX8wm5-NEzN-eL-DNcsRRJA"
Auto Skip
// Auto skip intros on channels with names containing trains
if category == "intro" and channel.name *= "trains"
Auto Skip