Whitelist & QNetworkAccessManager
-
Hi,
I created a whitelist system for my browser, so I overwrote the function QNetworkReply * QNetworkAccessManager::createRequest to filter the urls.
When a page is loaded by my browser, the url of this one is filtered using the function QNetworkReply * QNetworkAccessManager::createRequest, but the problem is that all other urls contained in this page (images, scripts, etc...) are also processed by the function QNetworkReply * QNetworkAccessManager::createRequest and so are filtered by my whitelist system.
I only want to filter the page url but not the urls of the page elements.Any suggestions?
Thanks in advance for your help.
-
one option is that you override the load function and then functions which loads or creates a new page and then filter the urls