Application
YouTube
Feature description
This is not a patch request, but a description of the feature that will be introduce in the next release.
Among the frequently asked questions by many users, there is Watch history not working.
Answers related to this can already be found here.
Since many users are still unaware of this, I felt the need to add a patch for it.
Watch history patch adds PreferenceScreen Watch history to PreferenceScreen Miscellaneous.

PreferenceScreen Watch history consists of the following settings:
• Manage all history
: This setting opens a watch history management page.
• About watch history
: It shows whether watch history is working or not depending on the settings changed by the user.
• Watch history type
: User can choose between Original, Replace domain, and Block watch history.
Here are the descriptions of the options for each Watch history type:
• Original
: Same as the unpatched state.
• Replace domain (default)
: Replaces the domain s.youtube.com with the domain www.youtube.com.
Some adblock block the domain s.youtube.com, so watch history may not work for users using adblock.
(The domains https://s.youtube.com/api/stats/playback and https://s.youtube.com/api/stats/watchtime are required for watch history to work)
Replace the domain s.youtube.com with the domain www.youtube.com to fix this issue.
(refered the addToWatchHistory function from LuanRT/YouTube.js)
• Block watch history
: Blocks the domain s.youtube.com.
It is also useful for users who want to block the s.youtube.com domain without using DNS or VPN, as the s.youtube.com domain contains trackers.
Motivation
Since this is a frequently asked question, I felt the need to integrate it into setting.
Acknowledgements
Application
YouTube
Feature description
This is not a patch request, but a description of the feature that will be introduce in the next release.
Among the frequently asked questions by many users, there is
Watch history not working.Answers related to this can already be found here.
Since many users are still unaware of this, I felt the need to add a patch for it.
Watch historypatch adds PreferenceScreenWatch historyto PreferenceScreenMiscellaneous.PreferenceScreen
Watch historyconsists of the following settings:• Manage all history
: This setting opens a watch history management page.
• About watch history
: It shows whether watch history is working or not depending on the settings changed by the user.
• Watch history type
: User can choose between
Original,Replace domain, andBlock watch history.Here are the descriptions of the options for each
Watch history type:• Original
: Same as the unpatched state.
• Replace domain (default)
: Replaces the domain
s.youtube.comwith the domainwww.youtube.com.Some adblock block the domain
s.youtube.com, so watch history may not work for users using adblock.(The domains
https://s.youtube.com/api/stats/playbackandhttps://s.youtube.com/api/stats/watchtimeare required for watch history to work)Replace the domain
s.youtube.comwith the domainwww.youtube.comto fix this issue.(refered the
addToWatchHistoryfunction from LuanRT/YouTube.js)• Block watch history
: Blocks the domain
s.youtube.com.It is also useful for users who want to block the
s.youtube.comdomain without using DNS or VPN, as thes.youtube.comdomain contains trackers.Motivation
Since this is a frequently asked question, I felt the need to integrate it into setting.
Acknowledgements