Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

stop a site for storing a cookie

more options

I know how to added a site to the "Exceptions - Cookies" list an block the site. The problem I have is the site just changes the first part of its name/url and adds the cookie to the list. SInce the site is using a 8 digit number; it is impossible to block all the name/url it can create. Is there a way to block all the possible name/url by using a wild card symbol? Like the "*" symbol in UNIX. Example *.xxxx.xxx.com to the list of sites I wish to block?

I know how to added a site to the "Exceptions - Cookies" list an block the site. The problem I have is the site just changes the first part of its name/url and adds the cookie to the list. SInce the site is using a 8 digit number; it is impossible to block all the name/url it can create. Is there a way to block all the possible name/url by using a wild card symbol? Like the "*" symbol in UNIX. Example *.xxxx.xxx.com to the list of sites I wish to block?

All Replies (2)

more options

Creating an exception for xxxx.xxx.com should include all sub domains.

more options

It's not possible to use wildcards in cookie exception rules. The best you can do is enter an exception for a domain, which will also apply to all subdomains. For example, an exception for mozilla.org will also apply to support.mozilla.org, blog.mozilla.org, wiki.mozilla.org, and so on.

You can stop all sites from setting cookies, and allow only specific sites to store cookies through exceptions and/or an add-on like Cookie Controller or Cookie Monster.