Greasy Fork is available in English.

s.to autoplay

Autoplay für SerienStream.to

< s.to autoplayについてのフィードバック

レート:可 - スクリプトは動作するがバグがある

§
投稿日: 2021/05/14
編集日: 2021/05/14

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

xZaheer作者
§
投稿日: 2021/05/15

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.

返信を投稿

返信を投稿するにはログインしてください。