This is AdBlock's old support site. It is available for archival purposes only. To create a new discussion, or to visit the up-to-date knowledge base, please visit help.getadblock.com

Something to swap in for blocked requests, instead of nothing

James Edward Lewis II's Avatar

James Edward Lewis II

27 Nov, 2015 04:55 PM

uBlock Origin is trying out just this sort of thing: https://github.com/gorhill/uBlock/blob/master/assets/ublock/redirec...

Currently the extension has a bundled list of resource tokens and corresponding swap-resources; if a resource is blocked by a hostname-anchored filter (beginning with ||) that has one (non-negated) request type, and it has a redirect=_token_ option, where _token_ is in the list, the resource will be swapped with the corresponding swap-resource.

This list includes a buggy-looking 26-byte GIF for image-swapping, a minimal HTML page for frame-swapping, and three surrogate scripts; the list cannot currently be edited by the end user, but it may be in the future, and it will not be extensible by third parties.

  1. Support Staff 1 Posted by Rhana on 31 Dec, 2015 04:32 PM

    Rhana's Avatar

    Hi James,

    I came across your suggestion while reviewing outstanding discussions as part of our year-end roundup. I apologize for the delay in responding!

    We appreciate your suggestion, thanks! I have passed it to our developers.

    Rhana
    AdBlock Community Manager

  2. Rhana closed this discussion on 31 Dec, 2015 04:32 PM.

Discussions are closed to public comments.
If you need help with AdBlock please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac