Hey! On Thu, Nov 01, 2018 at 11:03:43PM +0200, Viacheslav Chimishuk wrote: > I'm thinking about extending existing ad blocking module to allow > single URL blocking. For now we support two file formats: > host-per-line and UNIX hosts file format. My idea is the add third > format support: URL substring to block. For instance, if line is > foo.com/bar (file format need to be considered) every URL containing > this substring will be blocked. > Looks simple and backward compatible. > > Having this feature we can block ads on Youtube with a single > line. The thing many people is asking for a long time. > > What do you think?
How would the line to block Youtube ads look like? FWIW I'm against introducing another URL pattern format, and I'd rather use the existing URL pattern class which is also used for ":set -u" (aka "per-domain settings"). See: https://github.com/qutebrowser/qutebrowser/issues/4188 Note that I'm busy with university work on qutebrowser at least until christmas, so my time to look at PRs is quite limited currently: https://lists.schokokeks.org/pipermail/qutebrowser-announce/2018-September/000051.html https://lists.schokokeks.org/pipermail/qutebrowser-announce/2018-October/000053.html Florian -- https://www.qutebrowser.org | m...@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/
Description: PGP signature