none
at the top of the script is
// % of video watched to hide, 0 to not hide any
const hideWatchedVidProg = 1
which changes how watched the videos have to be to be blocked
the watched videos should be blocked on the home page - should work fully the watch page - works for the main video and the sidebar videos the history page - doesn't block anything a creators channel page - blocking by title works but blocking by creator id doesn't corrently work
this script works with multiple creators on the same video by if any of them are blocked it will block the video and to block a creator from a vide with more than one creator it asks in a popup which ones you want to block/unblock
i don't know what you mean by "Google Chrome and Mozilla Firefox Browsers with Tampermonkey or Violentmonkey" but if you are asking where I've tested this script that would be Violentmonkey on brave
there is also
const rclickBlocksUrl = true
const rclickBlocksTitle = false
to allow changing weather blocking should be done by title or url
Thank you for your quickness and for all the explanations :-)
i don't know what you mean by "Google Chrome and Mozilla Firefox Browsers with Tampermonkey or Violentmonkey" but if you are asking where I've tested this script that would be Violentmonkey on brave
This is to inform the developers so that they know in which environment I tested their script before contacting them.
// % of video watched to hide, 0 to not hide any const hideWatchedVidProg = 1 which changes how watched the videos have to be to be blocked
As I'm also interested by the feature of hiding the videos already watched because it's a replacement for this extension "FreshView for YouTube™" which was discontinued :
-> https://chromewebstore.google.com/detail/freshview-for-youtube/eckknmnfoohbeklmjlidmfdlakndcfkm
According to the red progress bar of each viewed video, the
const hideWatchedVidProg = 1
blocks the video that was already watched 100% or what other percentage already watched (1 = what percentage ?) please ?
it is 1-100% as it is using
hideWatchedVidProg && // if hideWatchedVidProg is not 0
prog && // progress bar exists
prog.style.width.replace("%", "") >= hideWatchedVidProg // progress bar is above the set hideWatchedVidProg
to get the watched percentage so
<yt-thumbnail-overlay-progress-bar-view-model
class="ytThumbnailOverlayProgressBarHost ytThumbnailOverlayProgressBarHostMedium"
><div
class="ytThumbnailOverlayProgressBarHostWatchedProgressBar ytThumbnailOverlayProgressBarHostUseLegacyBar"
>
<div
class="ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment"
style="width: 10%"
></div></div
></yt-thumbnail-overlay-progress-bar-view-model>
would be blocked id hideWatchedVidProg is 10 or below
Okay thank you.
Hello,
I just would like to know with your script please :
- On which pages of YouTube exactly the watched videos are hidden
- At what view percentage of each video
Thank you for your answer.
Google Chrome and Mozilla Firefox Browsers with Tampermonkey or Violentmonkey