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

Equate caret to asterisk in blocking filters except at the end of the URL pattern.

James Edward Lewis II's Avatar

James Edward Lewis II

06 Jul, 2015 08:08 PM

I just noticed this comment in a uBlock Origin issue, in which Raymond Hill said that the extension equates ^ to * within a blocking filter except if the caret is the last character in the URL pattern: https://github.com/gorhill/uBlock/issues/435#issuecomment-118360778

After thinking it through for a while, I came to the conclusion that this is acceptable, that the only reasonable place to put a caret in would be the end of a URL pattern, and AdBlock might find some efficiency gains by doing what Raymond Hill did; I haven't dug through the code to see whether AdBlock already does this, however.

  1. Support Staff 1 Posted by Rhana on 06 Jul, 2015 08:39 PM

    Rhana's Avatar

    Hi James,

    I'll pass your suggestion to the rest of the team for their consideration.

    Rhana
    AdBlock Community Manager

  2. Rhana closed this discussion on 06 Jul, 2015 08:39 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