WofWca / jumpcutter

⏩ Fast-forwards long pauses between sentences — watch lectures ~1.5x faster (browser extension)
https://chrome.google.com/webstore/detail/jump-cutter/lmppdpldfpfdlipofacekcfleacbbncp
GNU Affero General Public License v3.0
329 stars 11 forks source link

Website blacklist / whitelist #26

Open yutotakano opened 3 years ago

yutotakano commented 3 years ago

I found this extension on the Chrome Webstore -- I've absolutely fallen in love with how customisable it is, as well as the superb and powerful functionality.

Would it be possible to add a domain blacklist to control whether the extension should be disabled on certain pages? This would be very useful for e.g. speeding up lectures but keeping YouTube videos at normal speed.

I use this extension in combination with Video Speed Controller (with some overlapping features disabled), and they have what is shown in the following screenshot:

Screenshot 2021-09-21 at 20 41 04

Something like uBlock/AdBlock's "Trusted Sites" would also be similar (disable with a checkbox in extension popup, as well as multiline textbox in options).

Thanks!

WofWca commented 3 years ago

This has been discussed in reviews on Chrome Web Store (review by Cheung Tyrone). If you're using Chromium, and whitelist (not blacklist) function is enough for you, go to extension management (not the options page) and set "Site access" to "On specific sites" (https://support.google.com/chrome_webstore/answer/2664769).

I'll think more about blacklisting and Gecko (Firefox). Maybe browsers will start supporting this natively, maybe there will be a Firefox version of the NooBoss extension. If not, I guess this will need to be implemented.

And thanks for the kind words. I'm glad you like it.

WofWca commented 2 years ago

Maybe this could help https://github.com/fregante/webext-domain-permission-toggle. Or just look up how it's done. It uses permissions. It'd be cool if we could simultaneously solve this issue and narrow extension's permissions.

WofWca commented 2 years ago

Btw, in case of Chromium, we could implement only the blacklist functionality, because whitelisting is already there.

WofWca commented 1 year ago

Someone in the reviews on Chrome Web Store also suggested a wildcard-type whitelist/blacklist, in order to only enable the extension for certain playlists on YouTube.

WofWca commented 4 months ago

I just had an idea for sort of a workaround for advanced users. Basically we base this on https://github.com/WofWca/jumpcutter/issues/153 . We would look at the element and check if it has an attribute called JumpCutterIgnore or somethibg. And the attribute would be set by a userscript, an extension like Grease Monkey.