====== addExtensionFilter ======
Adds [[http://en.wikipedia.org/wiki/Filename_extension|extension]], files of which will be ignored while the documents loading.
===== Syntax =====
addExtensionFilter = function(aExtension);
==== Parameters ====
* **//aExtension//**
* //type:// string
* //functions:// filtered extension
===== Notes =====
* The following filters are used by default:
-.gif
-.jpeg
-.jpg
-.png
-.tiff
* Only downloaded from the primary domain files are filtered.
===== Примеры =====
-//Forbid to download "jpeg" files
addExtensionFilter('.jpeg');
{{:ru:wascript:ecma:methods:1.png}}