Filter to not block http and https from one domain?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
alex

Filter to not block http and https from one domain?

Post by alex »

Hi,
using Firefox 3.5.7 on Windows XP SP3 and using Addlock Plus 1.1.3

Example:
@@|http://www.myserver.com/*
@@|https://www.myserver.com/*

I have several filters with http and https - so only one letter is difference between them. Is there any way I could only write one filter for this two filters using regular expression?
Regards
User avatar
fanboy
Posts: 3446
Joined: Sun Jun 17, 2007 4:45 am
Contact:

Re: Filter to not block http and https from one domain?

Post by fanboy »

Code: Select all

@@||myserver.com^
Guest

Re: Filter to not block http and https from one domain?

Post by Guest »

fanboy wrote:

Code: Select all

@@||myserver.com^
Hi,
this is not working. It does not work for http nor https web pages. Any other idea?
Regards
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: Filter to not block http and https from one domain?

Post by Michael »

What version of Adblock Plus are you using? The syntax should function correctly in 1.1 or higher.
Guest

Re: Filter to not block http and https from one domain?

Post by Guest »

Michael wrote:What version of Adblock Plus are you using? The syntax should function correctly in 1.1 or higher.
I am using 1.1.3 as I have written in first post. I see that "@@||myserver.com^" is not working by red "ABP" icon in toolbar. I also see that for example "@@*myserver.com*" also does not work (also red icon), but "@@|http://*myserver.com/*" does work (green icon).

Any idea how to write this filter?
Wladimir Palant

Re: Filter to not block http and https from one domain?

Post by Wladimir Palant »

So you want to whitelist entire webpages rather than individual items. Then you need "@@||myserver.com^$document"
Guest

Re: Filter to not block http and https from one domain?

Post by Guest »

Wladimir Palant wrote:So you want to whitelist entire webpages rather than individual items. Then you need "@@||myserver.com^$document"
This looks to be working. What does "^$document" ending string means?
Wladimir Palant

Re: Filter to not block http and https from one domain?

Post by Wladimir Palant »

en/filters#separators
en/filters#options

This filter rule is added automatically if you disable Adblock Plus on a site.
asdf

Re: Filter to not block http and https from one domain?

Post by asdf »

This is a case where the request policy extension should work as your most efficient and powerful http/https boundary enforcer.
Wladimir Palant

Re: Filter to not block http and https from one domain?

Post by Wladimir Palant »

asdf, reading the question before answering helps. This extension will not help the op solve his problem.

I removed the link in the post above just in case this is spam.
Locked