Merge lp:~gue5t/midori/adblock-main-frame-2 into lp:midori
Proposed by
gue5t gue5t
Status: | Merged |
---|---|
Approved by: | Paweł Forysiuk |
Approved revision: | 7086 |
Merged at revision: | 7090 |
Proposed branch: | lp:~gue5t/midori/adblock-main-frame-2 |
Merge into: | lp:midori |
Diff against target: |
21 lines (+9/-2) 1 file modified
extensions/adblock/extension.vala (+9/-2) |
To merge this branch: | bzr merge lp:~gue5t/midori/adblock-main-frame-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paweł Forysiuk | Approve | ||
Review via email: mp+282124@code.launchpad.net |
Commit message
Do not block the main webpage of a tab even if it is matched by adblock rules
Description of the change
Compare the provisional data source of the main frame with the URI we're requesting. If they match, and the request came from the main frame, then we know this request is the main page for the frame and should be allowed to pass through.
This was tested with easylist and <http://
To post a comment you must log in.