Содержание

addMimeFilter

Adds MIME type, which will be ignored while documents loading.

Syntaxс

addMimeFilter = function(aMIMEType);

* aMIMEType

Examples

  1. //Forbid to download data with type "application/pdf"
    addMimeFilter('application/pdf');
  2. //Forbid to download data with type "text/css"
    addMimeFilter('text/css');