[Interest] QWebEngine block domain

Florian Bruhin me at the-compiler.org
Wed Jun 14 09:37:03 CEST 2017


On Tue, Jun 13, 2017 at 09:41:17PM -0700, Kevin Mcintyre wrote:
> Is it possible to block requests, like for instance to a specific domain.
> 
> Is see QWebEngineUrlRequestInterceptor but this is only informational.

Only informational how? There's a QWebEngineUrlRequestInfo::block()
which seems to do exactly what you want.

Florian

-- 
https://www.qutebrowser.org  | me at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170614/296a3995/attachment.sig>


More information about the Interest mailing list