Greasy Fork is available in English.
Autoplay für SerienStream.to
< Commentaires sur s.to autoplay
thank you. added you code to the script and fixed the problem with the last episode.
if you also want to make a script for bs.to, it would be better if we do it together. wouldn't it? :)
because at the moment i find the code already very unreadable and confusing. i have to refactor the whole thing anyway.
Does not jump to next season on last episodes end, instead get redirected to a non existing site == error 404
I've added a GM_set/getValue for the volume to save/load, as it always starts with full volume.
videoElem.addEventListener('volumechange', (event) => {
//console.log(videoElem.volume);
GM_setValue('volume', videoElem.volume);
if(videoElem.muted)
{
GM_setValue('muted', true);
}
else
{
GM_setValue('muted', false);
}
});
if(!isNaN(GM_getValue('volume')))
{
videoElem.volume = GM_getValue('volume');
}
if(GM_getValue('muted'))
{
videoElem.muted = true;
}
else
{
videoElem.muted = false;
}
I'm thinking of making a similar script, as i won't dig into that one too much, anyway, great script. Would be great to see some things fixed/implemented in near future ^^