Greasy Fork is available in English.

s.to autoplay

Autoplay für SerienStream.to

< Feedback on s.to autoplay

Review: OK - script works, but has bugs

§
Posted: 14 Mei 2021
Edited: 14 Mei 2021

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 ^^

xZaheerPembuat
§
Posted: 15 Mei 2021

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.

Post reply

Sign in to post a reply.