Add exception for all intranet sites

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

Add exception for all intranet sites

Post by lopezg415 »

Is there a way to add an exception and unblock all intranet sites?

The easiest way I can think of is checking for a period in the hostname. Any help would be greatly appreciated.
@@|http://hostname/*
baldr
Posts: 18
Joined: Tue Sep 15, 2009 10:05 am

Re: Add exception for all intranet sites

Post by baldr »

Try regular expression filter. @@/^https?:\/\/\w+(\/|$)/ will match URLs like http://host_123, https://secure_host_007/favicon.ico and such. Heavy backslashing, heh? ;-) You may also insert something like (:\d+)? after \w+ to allow connection to non-default (80 for HTTP, 443 for HTTPS) port number.
anonymous3523

Re: Add exception for all intranet sites

Post by anonymous3523 »

This worked for me:

@@/^https?:\/\/\w+(:\d+)?(\/|$)/$document
Locked