Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(YouTube): add Watch history patch #2275

Closed
5 tasks done
inotia00 opened this issue Jul 27, 2024 · 1 comment
Closed
5 tasks done

feat(YouTube): add Watch history patch #2275

inotia00 opened this issue Jul 27, 2024 · 1 comment
Labels
Feature request Requesting a new feature

Comments

@inotia00
Copy link
Owner

inotia00 commented Jul 27, 2024

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.

Watch_history

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

  • This is not a feature request for YouTube.
  • This issue is not a duplicate of an existing feature request.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • I have written the title and contents in English.
@inotia00 inotia00 added the Feature request Requesting a new feature label Jul 27, 2024
inotia00 added a commit to inotia00/revanced-patches that referenced this issue Jul 27, 2024
inotia00 added a commit to inotia00/revanced-integrations that referenced this issue Jul 27, 2024
@inotia00
Copy link
Owner Author

reflected in revanced-patches-4.10.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Requesting a new feature
Projects
None yet
Development

No branches or pull requests

1 participant