youtube icon indicating copy to clipboard operation
youtube copied to clipboard

tracking watched videos: missing a minimum in seconds & percent of the video duration. We count played time (analyzer feature). We can store the percentages watched. And the exact parts to mark them up on the player's time bar. And skip them or rehearse them exclusively (skip all else)

Open ImprovedTube opened this issue 1 year ago • 4 comments

https://github.com/code-charity/youtube/blob/9266d8dfe76eaec30936b4efffcfe931c3c60337/js%26css/web-accessible/functions.js#L296-L307

counting seconds here already: https://github.com/code-charity/youtube/blob/9266d8dfe76eaec30936b4efffcfe931c3c60337/js%26css/web-accessible/functions.js#L393-L451

ImprovedTube avatar May 04 '24 13:05 ImprovedTube

That would take a TON of storage. Btw Analyzer is totally broken for me.

Personally what I do in my own browser to track watched videos is simple CSS mod unlocking different color for Visited video links (YT tries to display all in same color). Cheap (browser holds this data anyway), fast (browser native functionality) and easy to spot.

raszpl avatar May 04 '24 21:05 raszpl

That would take a TON of storage.

Yes!💪😳 up to 0.00000x Harddrives.
Less than storing titles next to video IDs.

CSS

👍🤫 https://github.com/code-charity/youtube/issues/482#issuecomment-2041646645 @raszpl

running our feature at all, #2238 will be the main advantage. (Considering yours could also make the data available easily, if you added a tag to the URLs in history (until the browser history expires) )


( without watch history or analyzer we still always run this playback heartbeat:

 playerOnTimeUpdate
       ....
 				ImprovedTube.alwaysShowProgressBar(); 
 				ImprovedTube.playerRemainingDuration(); 
 				ImprovedTube.played_time += .5; 
 			}, 500); 

https://github.com/code-charity/youtube/commit/bda492cd373c0f8aa3ee02a4033fd74d485390a6 )

ImprovedTube avatar May 09 '24 15:05 ImprovedTube

That would take a TON of storage.

Yes!💪😳 up to 0.00000x Harddrives.

and how much % of users hard drive can one extension use?

raszpl avatar May 10 '24 17:05 raszpl

unlimited 🤫 (with extension permission storage in the manifest. doesn't have to be confirmed. Else only 10mb chrome.storage whyever. And you might have seen websites (/bugs) just storing gigabytes. ) ( 2. only 0.1mb for chrome storage sync (Still enough videosID for example, if you will. Could be converted to base256 ))

ImprovedTube avatar May 12 '24 06:05 ImprovedTube