Greasy Fork is available in English.

Youtube Resumer (using the url)

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

< Σχολιασμός για τον κώδικα Youtube Resumer (using the url)

Αναφορά: Εντάξει - ο κώδικας λειτουργεί αλλά έχει σφάλματα

§
Δημοσιεύτηκε: 04/12/2021
Επεξεργάστηκε: 04/12/2021

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

Dry SpoonΔημιουργός
§
Δημοσιεύτηκε: 18/12/2021

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Δημιουργός
§
Δημοσιεύτηκε: 19/11/2023

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

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.