YouTubePopoutPlayer icon indicating copy to clipboard operation
YouTubePopoutPlayer copied to clipboard

Remove Popout Videos from YouTube History

Open rthaut opened this issue 2 years ago • 1 comments

From a Chrome review:

An option to disable Youtube History for whatever plays in the popout would be really good too. I routinely clean up my history to get better suggestions and going on a music binge is always a hassle. This would help a lot.


More research is needed on this.

I'm sure modifying a user's watch history will require the user to authorize YouTube Popout Player as a third party app, which should be possible with the Identity API (see also: Google Chrome Manifest v3 example). Users may be reluctant to do this, so it would definitely need to be opt-in only when needed.

However, I'm not seeing an API for accessing/managing watch history. My initial findings indicate that this may have been possible at one point but was removed years ago...

rthaut avatar Mar 18 '23 17:03 rthaut

Apparently, you cannot use additional parameters in the URL when embedding a request.. I encountered this when, in a similar extension for opening links in embed tabs, the request came with parameters in the URL, and the videos watched in this way were not included in the YouTube history list.. then I excluded the request for these parameters directly in the extension script code - and the videos watched in this way began to be saved in the history.. for example: https://www.youtube.com/embed/6n_xCI-peq0?autoplay=1&iv_load_policy=3&rel=0&showinfo=0 - nothing will go into history https://www.youtube.com/embed/6n_xCI-peq0 - and it will save everything in history help with parameters - https://developers.google.com/youtube/player_parameters?hl=en#Parameters

FiLinX avatar Aug 23 '24 19:08 FiLinX