Youtube Resumer (using the url)

Changes the ?t= parameter when pausing. Other version: https://greasyfork.org/en/scripts/455475-youtube-resumer

< Feedback on Youtube Resumer (using the url)

Review: ठीक - स्क्रिप्ट चालते, पण त्यात बग आहेत

§
पोस्ट केले: 2021-12-04
संपादित केले: 2021-12-04

History is overflowing.
It's good to make updates to the url parameter "t" not every second, but after 15 seconds.

Dry Spoonलेखक
§
पोस्ट केले: 2021-12-18

Oh I didn't notice. In that case I think it makes more sense to change the url only when pausing. There is a new version, feel free to customize it:
function listen(){
const video = findVideo()
video.addEventListener('timeupdate', () => {
const seconds = parseInt(video.currentTime)
if(seconds % 15 === 0){//divisible by 15
changeUrl(seconds)
}
})
}

Dry Spoonलेखक
§
पोस्ट केले: 2023-11-19

Here is a version that stores time locally https://greasyfork.org/en/scripts/455475-youtube-resumer

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.