From e66c4cbb47fd32ddf0db51584fbeb18030387a4c Mon Sep 17 00:00:00 2001 From: alexcorvi Date: Wed, 5 Apr 2017 13:54:17 +0300 Subject: [PATCH] added more about custom exclusion --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index 538547e..8ef4d4f 100644 --- a/index.html +++ b/index.html @@ -426,6 +426,8 @@

Custom Exclusion

The aforementioned exclusion options exclude URLs by their protocol. However, you might want to exclude URLs for any other reason.

+

Each identified URL will go through this function. The function can be used to test the URLs and return a truthy value (true or 1 or "non-empty string" ... etc) to exclude or a falsy value (false or 1 or undefined ... etc) to include.

+

 // this example will exclude URLs ends with .zip
 anchorme(string,{
@@ -437,6 +439,9 @@ 

Custom Exclusion

});
+

JSFiddle Demo

+ +

Additional Features