youtube-local icon indicating copy to clipboard operation
youtube-local copied to clipboard

How to block sponsorblock segments eg "intro" or others.

Open user12345678905 opened this issue 3 years ago • 11 comments

What code i need to contribute to sponsorblock.js to block "selfpromo" "intro" and all other sponsorblock sigments?

user12345678905 avatar Sep 14 '21 19:09 user12345678905

It would probably be too much code in terms of making new settings etc. The integrated SponsorBlock support is temporary until native support for youtube-local is added to SponsorBlock, which is the better solution. Issue here.

user234683 avatar Sep 14 '21 21:09 user234683

Is there any workaround? I do not care that the code will be large, the main thing is that other segments besides the sponsor are skipped.

user12345678905 avatar Sep 14 '21 21:09 user12345678905

This Issue was dated 21 Oct 2020 but has not been closed (https://github.com/ajayyy/SponsorBlock/pull/521). Can make a temporary decision now than wait another year?

user12345678905 avatar Sep 14 '21 21:09 user12345678905

If you want a personal workaround, remove line 29 in sponsorblock.js

user234683 avatar Sep 14 '21 22:09 user234683

I tried to delete the line 29 several times and it does not work.

user12345678905 avatar Sep 15 '21 08:09 user12345678905

Personal workaround doesn`t work.

user12345678905 avatar Sep 15 '21 16:09 user12345678905

Please make new workaround.

user12345678905 avatar Sep 15 '21 17:09 user12345678905

Pleaseeee i dont want to watch standart youtube from youtube.com

user12345678905 avatar Sep 20 '21 19:09 user12345678905

Its very interesting project it has all the functionality and I would like to use Sponsor Block the way I want, but I can't do it ....

user12345678905 avatar Sep 20 '21 20:09 user12345678905

You could make a fork of SponsorBlock with the pull request merged in and see if that helps.

DUOLabs333 avatar Oct 16 '21 16:10 DUOLabs333

Is this still a problem? I have changed the url parsing considerably since these issues were made and if the format is still http://your-domain.org/youtube.com/watch?v=<vid> there should be no issues

https://github.com/ajayyy/SponsorBlock/blob/f4d80d88438ff31bc067ff480fd94112d972718d/src/content.ts#L1381-L1395

mchangrh avatar Feb 07 '23 23:02 mchangrh