[Webkit-unassigned] [Bug 25118] Add signal to support AdBlock in WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 9 11:25:05 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25118





------- Comment #1 from alex at igalia.com  2009-04-09 11:25 PDT -------
Sorry last comment was not finished:

The idea is to have a delegate in the DocLoader::requestResource
(WebCore/loader/DocLoader.cpp), something like:

...
    KURL fullURL = m_doc->completeURL(url);

    if (!fullURL.isValid() || !canRequest(type, fullURL) ||
(blockResource(type, fullURL)))
        return 0;
...

Maybe we could even add it in the canRequest function as a last line if the
other conditions are satisfied.

This function will delegate in the browser to check if the the resource should
be loaded or not.

Is this support already implemented? Is this the proper place?


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list