# Custom Script Parameters

The parameters in this section can be used to run custom JavaScript on a page, before the page is ingested.

You can set these parameters in the TaskName section. For example:

    [MyTask]
    Url=http://www.hpe.com
    ...
    CustomJSUrlRegex=http://www\.hpe\.com/folder/.*
    CustomJSScriptPath=javascript/my_script_0.js

Alternatively, use the parameter CustomJSSections to list the names of configuration sections that contain settings for running custom JavaScript. For example:

    [MyTask]
    Url=http://www.hpe.com
    ...
    CustomJSSections=CustomJS0,CustomJS1

    [CustomJS0]
    CustomJSUrlRegex=http://www\.hpe\.com/folder/.*
    CustomJSScriptPath=javascript/my_script_0.js

    [CustomJS1]
    CustomJSUrlRegex=.*
    CustomJSScriptPath=javascript/my_script_1.js

_FT_HTML5_bannerTitle.htm