user234683 / youtube-local

browser-based client for watching Youtube anonymously and with greater page performance
GNU Affero General Public License v3.0
501 stars 62 forks source link

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

Open user12345678905 opened 2 years ago

user12345678905 commented 2 years ago

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

user234683 commented 2 years ago

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.

user12345678905 commented 2 years ago

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 commented 2 years ago

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?

user234683 commented 2 years ago

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

user12345678905 commented 2 years ago

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

user12345678905 commented 2 years ago

Personal workaround doesn`t work.

user12345678905 commented 2 years ago

Please make new workaround.

user12345678905 commented 2 years ago

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

user12345678905 commented 2 years ago

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

DUOLabs333 commented 2 years ago

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

mchangrh commented 1 year ago

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