Documentation Custom Content Plugin

 

If you are here because you want to change the way the site looks to new browsers then you may want to take a look at the Initial Settings feature in Tools | Options. You do not normally need the Custom Content plugin to configure the defaults for the web site.

The documentation for the Initial Settings feature can be found here.

How to change settings

The web site created by Virtual Radar Server is composed of a small number of HTML files and a large number of JavaScript files. The JavaScript is stored in <Program Files>\VirtualRadar\Web\Script.

Don't change those files, it won't work. The server will not serve modified files from that folder. You will have to reinstall Virtual Radar Server to get the original versions of those files back.

Most of the JavaScript stores its default settings in an object called VRS.globalOptions. You can inject content into the site to change these options so they're more to your liking.

You can also use the same technique to add to the site's CSS.

Scripts that change the settings or add CSS carry a small risk of breaking with future versions of Virtual Radar Server but that risk is very small. They are the most future-proof kind of alteration that you can make to the site.

The Template

Customising VRS.globalOptions involves injecting some JavaScript into the Desktop.html and Mobile.html pages. Create a file called CustomGlobalOptions.html on your computer (the name is not important, you can call it anything) and copy the following into it:

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            // This will run once, just after the server configuration has been loaded
            // but before any of the JavaScript objects are initialised.
            // ADD YOUR CONTENT AFTER THIS LINE
        });
    }
</script>

In the Custom Content plugin options configure the plugin to inject your file at the END of the HEAD for every HTML file (an address of *):

Inject Example Screenshot

You don't need to restart the server - just reload the web page and the content of your HTML file will be injected into every HTML page served by the site. The file that contains the content is reloaded every time the user requests the web page that it has been injected into, so you do not need to do anything special to get changes picked up. You just need to reload the web page.

A Test Example

This script just displays an alert box with the text 'It worked!' when the page is loaded. If you use this script and you don't get the message then there's something wrong somewhere.

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            alert('It worked!');
        });
    }
</script>

Example Scripts

JavaScript - Disable Altitude Stalk

This script turns off altitude stalks by default and hides the options that would allow the user to switch them on:

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            VRS.globalOptions.aircraftMarkerAllowAltitudeStalk = false;
        });
    }
</script>
JavaScript - Disable Trails

This script disables trails for all aircraft and hides the options that would allow the user to switch them on:

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            VRS.globalOptions.suppressTrails = true;
        });
    }
</script>
JavaScript - Force Refresh Interval

This script forces the refresh interval to three seconds (3000 ms) and stops the user from changing it:

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            VRS.globalOptions.aircraftListFixedRefreshInterval = 3000;
        });
    }
</script>
JavaScript - Set Marker Text

This script sets four lines of marker text - registration, flight level, callsign and route:

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            VRS.globalOptions.aircraftMarkerPinTextLines = 4;
            VRS.globalOptions.aircraftMarkerDefaultPinTexts = [
                VRS.RenderProperty.Registration,
                VRS.RenderProperty.FlightLevel,
                VRS.RenderProperty.Callsign,
                VRS.RenderProperty.RouteShort
            ];
        });
    }
</script>
JavaScript - Hide Uncertain Callsigns

By default callsigns that might be incorrect are shown with an asterisk against them. This script stops them from being shown altogether so that only callsigns that are definitely correct are shown:

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            VRS.globalOptions.aircraftHideUncertainCallsigns = true;
        });
    }
</script>
CSS - Add Hover Highlight to Aircraft List

This addition to the standard CSS adds a highlight when the mouse hovers over an unselected row in the aircraft list.

<style media="screen" type="text/css">
    .aircraftList .vrsEven:hover,
    .aircraftList .vrsOdd:hover {
        color: #ffffff;
        background-color: #327CD8;
    }
</style>

VRS.globalOptions Settings

Aircraft details

VRS.globalOptionDescription
aircraftAutoSelectClosestTrue if auto-select closest is enabled by default.
aircraftAutoSelectEnabledTrue if auto-select is enabled by default.
aircraftAutoSelectFiltersThe initial array of VRS.AircraftFilter objects that will be used by auto-select.
aircraftAutoSelectFiltersLimitThe maximum number of auto-select filters that the user can enter.
aircraftAutoSelectOffRadarActionThe VRS.OffRadarAction enum value describing the default auto-select behaviour when an aircraft goes off radar.
aircraftHideUncertainCallsignsIf true then uncertain callsigns are never shown.
aircraftInfoWindowAllowConfigurationTrue if the user can configure the infowindow settings.
aircraftInfoWindowClassThe CSS class to assign to info windows.
aircraftInfoWindowDistinguishOnGroundTrue if aircraft on the ground should show an altitude of GND.
aircraftInfoWindowEnabledTrue if the info window is enabled by default.
aircraftInfoWindowEnablePanningTrue if the map should pan to the info window when it opens.
aircraftInfoWindowFlagUncertainCallsignsTrue if uncertain callsigns are to be flagged as such.
aircraftInfoWindowItemsAn array of VRS.RenderProperty values that are shown by default in the info window.
aircraftInfoWindowShowUnitsTrue if units should be shown in the info window.
aircraftMaxAvgSignalLevelHistoryThe number of signal level values that the average signal level is calculated over.
aircraftPictureSizeDesktopDetailThe width or height in pixels of aircraft pictures on the desktop page.
aircraftPictureSizeInfoWindowThe width and height in pixels of the mobile page's info window.
aircraftPictureSizeIPadDetailThe width or height in pixels of aircraft pictures when viewed on tablets.
aircraftPictureSizeIPhoneDetailThe width or height in pixels of aircraft pictures when viewed on phones.
aircraftPictureSizeListThe width and height in pixels of aircraft picture thumbnails in the aircraft list.
airportDataApiThumbnailsUrlThe default URL for airportdata.com thumbnails JSON fetches.
airportDataApiTimeoutThe number of milliseconds to wait before timing out a fetch of airportdata.com JSON.
detailPanelAirportDataThumbnailsThe number of airportdata.com thumbnails to show.
detailPanelDefaultItemsAn array of VRS.RenderProperty values that are shown by default in the aircraft detail panel.
detailPanelDefaultShowUnitsTrue if the aircraft details panel should default to showing distance / speed / height units.
detailPanelDistinguishOnGroundTrue if altitudes should show 'GND' when the aircraft is on the ground.
detailPanelFlagUncertainCallsignsTrue if uncertain callsigns are to be flagged up on the detail panel.
detailPanelShowAircraftLinksTrue to show the links for an aircraft, false to suppress them.
detailPanelShowCentreOnAircraftTrue to show a link to centre the map on the selected aircraft.
detailPanelShowEnableAutoSelectTrue to show a link to enable and disable auto-select, false to suppress the link.
detailPanelShowSeparateRouteLinkShow a separate link to add or correct routes if the detail panel is showing routes.
detailPanelUserCanConfigureItemsTrue if the user can change the items shown for an aircraft in the details panel.
detailPanelUseShortLabelsTrue if the short list heading labels should be used in the aircraft detail panel.
linkClassThe CSS class to assign to links.
linkSeparatorThe string to display between links in groups of external links.
suppressTrailsIf true then trails are never shown for any aircraft.

Aircraft lists

VRS.globalOptionDescription
aircraftListDataTypeThe format that the aircraft list is returned in.
aircraftListDefaultFiltersEnabledTrue if filters are enabled by default.
aircraftListDefaultSortOrder(See Note 1) The default sort order of the aircraft list.
aircraftListFiltersThe initial array of VRS.AircraftFilter objects that the list is filtered by.
aircraftListFiltersLimitThe maximum number of list filters that the user can enter.
aircraftListFixedRefreshIntervalThe number of milliseconds between refreshes, -1 if the user can configure this themselves.
aircraftListFlightSimUrlThe URL that the aircraft list JSON is fetched from when running in Flight Simulator X mode.
aircraftListHideAircraftNotOnMapTrue if aircraft that are not on display are hidden from the list, false if they are not.
aircraftListRequestFeedIdThe ID of the feed to request. If undefined then the default feed configured on the server is fetched.
aircraftListRetryIntervalThe number of milliseconds to wait before fetching an aircraft list after a failure.
aircraftListShowEmergencySquawksIndicates the precedence given to aircraft transmitting emergency squawks in the aircraft list.
aircraftListShowInterestingIndicates the precedence given to aircraft flagged as interesting in the aircraft list.
aircraftListTimeoutThe number of milliseconds before an aircraft list fetch will time out.
aircraftListUrlThe URL that the aircraft list JSON is fetched from.
aircraftListUserCanChangeFeedsTrue if the user can change feeds, false if they cannot.
listPluginDefaultColumnsAn array of VRS.RenderProperty values that are shown by default in the aircraft list.
listPluginDefaultShowUnitsTrue if units should be shown by default.
listPluginDistinguishOnGroundTrue if altitudes should distinguish between a value of 0 and aircraft that are on the ground.
listPluginFlagUncertainCallsignsTrue if uncertain callsigns should be flagged in the aircraft list.
listPluginShowHideAircraftNotOnMapTrue if the link to hide aircraft not on map should be shown.
listPluginShowPauseTrue if a pause link should be shown on the list, false if it should not.
listPluginShowSorterOptionsTrue if sorter options should be shown on the list configuration panel.
listPluginUserCanConfigureColumnsTrue if the user can configure the aircraft list columns.

Map options

VRS.globalOptionDescription
aircraftMarkerAllowAltitudeStalkTrue if altitude stalks can be shown, false if they are permanently suppressed.
aircraftMarkerAllowPinTextTrue to allow the user to display pin text on the markers. This can be overridden by server options.
aircraftMarkerAllowRangeCirclesTrue if range circles are to be allowed, false if they are to be suppressed.
aircraftMarkerAltitudeTrailHighThe high range to use when colouring altitude trails, in feet. Altitudes above this are coloured red.
aircraftMarkerAltitudeTrailLowThe low range to use when colouring altitude trails, in feet. Altitudes below this are coloured white.
aircraftMarkerAlwaysPlotSelectedTrue to always plot the selected aircraft, even if it is not on the map. This preserves the selected aircraft's trail.
aircraftMarkerClustererEnabledTrue if clusters of aircraft should be presented as a single icon.
aircraftMarkerClustererMaxZoomThe zoom level at which clusters of aircraft should be presented as a single icon. Smaller numbers are further away from the ground.
aircraftMarkerClustererMinimumClusterSizeThe number of aircraft that have to be grouped together before they become merged into a single cluster icon.
aircraftMarkerClustererUserCanConfigureTrue if the user can configure the parameters for aircraft marker clustering.
aircraftMarkerDefaultPinTexts(See Note 2) The initial array of VRS.RenderProperty values to show on the markers.
aircraftMarkerHideEmptyPinTextLinesTrue if empty pin text lines are to be hidden.
aircraftMarkerHideNonAircraftZoomLevelThe zoom level at which non-aircraft traffic is hidden. Lower numbers are further away from the ground.
aircraftMarkerMaximumPinTextLinesThe maximum number of lines of pin text that a user can show on markers.
aircraftMarkerMovingMapOnTrue if the moving map is switched on by default, false if it is not.
aircraftMarkerOnlyUsePre22IconsTrue if only the old pre-version 2.2 aircraft icon should be shown.
aircraftMarkerPinTextLineHeightThe pixel height for each line of pin text on a marker.
aircraftMarkerPinTextLinesThe number of lines of pin text to show on markers.
aircraftMarkerPinTextWidthThe pixel width for markers with pin text drawn on them.
aircraftMarkerRangeCircleCountThe number of range circles to display around the current location.
aircraftMarkerRangeCircleDistanceUnitThe VRS.Distance value indicating the units for aircraftMarkerRangeCircleInterval
aircraftMarkerRangeCircleEvenColourThe CSS colour for the even range circles.
aircraftMarkerRangeCircleEvenWeightThe width in pixels for the even range circles.
aircraftMarkerRangeCircleIntervalThe number of distance units between each successive range circle.
aircraftMarkerRangeCircleMaxCirclesThe maximum number of circles that the user can show.
aircraftMarkerRangeCircleMaxIntervalThe maximum interval that the user can request for a range circle.
aircraftMarkerRangeCircleMaxWeightThe maximum weight that the user can specify for a range circle.
aircraftMarkerRangeCircleOddColourThe CSS colour for the odd range circles.
aircraftMarkerRangeCircleOddWeightThe width in pixels for the odd range circles.
aircraftMarkerRotateTrue if markers are allowed to rotate to indicate the direction of travel, assuming that the natural state points due north.
aircraftMarkerRotationGranularityThe smallest number of degrees an aircraft has to rotate through before its marker is rotated.
aircraftMarkers(See Note 7) An array of the aircraft icons that can represent different types of aircraft on the map.
aircraftMarkerShowAltitudeStalkTrue if altitude stalks are shown by default, false if they are not.
aircraftMarkerShowNonAircraftTrailsTrue if non-aircraft traffic should have trails drawn for them.
aircraftMarkerShowRangeCirclesTrue if range circles are to be shown by default, false if they are not.
aircraftMarkerShowTooltipTrue to show tooltips on aircraft markers, false otherwise.
aircraftMarkerSpeedTrailHighThe high range to use when colouring speed trails, in knots. Speeds above this are coloured red.
aircraftMarkerSpeedTrailLowThe low range to use when colouring speed trails, in knots. Speeds below this are coloured white.
aircraftMarkerSuppressAltitudeStalkWhenZoomedTrue to suppress the altitude stalk when zoomed out, false to always show it.
aircraftMarkerSuppressAltitudeStalkZoomLevelThe map zoom level at which altitude stalks will be suppressed.
aircraftMarkerSuppressTextOnImagesTrue if pin texts are rendered in JavaScript instead of at the server. Usually automatically set to true when server is running under Mono.
aircraftMarkerTrailColourNormalThe CSS colour of trails for aircraft that are not selected.
aircraftMarkerTrailColourSelectedThe CSS colour of trails for aircraft that are selected.
aircraftMarkerTrailDisplayThe VRS.TrailDisplay value that indicates which aircraft to display trails for.
aircraftMarkerTrailTypeThe VRS.TrailType value that indicates the type of trail to display.
aircraftMarkerTrailWidthNormalThe width in pixels of trails for aircraft that are not selected.
aircraftMarkerTrailWidthSelectedThe width in pixels of trails for aircraft that are selected.
aircraftPositionMapClassThe CSS class to assign to the aircraft position map panel.
aircraftRendererEnableDebugPropertiesTrue if debug properties can be shown in aircraft lists, on markers etc.
mapDraggableTrue if the user can move the map. Overridden in some panels.
mapGoogleMapHttpsUrlThe HTTPS URL to load Google Map JavaScript from.
mapGoogleMapHttpUrlThe HTTP URL to load Google Map JavaScript from.
mapGoogleMapTimeoutThe number of milliseconds that the site will wait for before it times out the fetch of Google Maps JavaScript.
mapGoogleMapUseHttpsTrue if the Google Maps JavaScript should be fetched over HTTPS.
mapHighContrastMapStyleThe Google map styles to use for the high contrast map. See Google's map style wizard.
mapNextPageButtonClassThe CSS class to use on the next page button shown on the mobile map.
mapNextPageButtonFilteredImageThe image to use for the "filtering is in effect" next page button.
mapNextPageButtonFilteredSizeThe size of the filtered next page button.
mapNextPageButtonImageThe image to use for the normal next page button on the mobile map.
mapNextPageButtonPausedImageThe image to use for paused next page on the mobile map.
mapNextPageButtonPausedSizeThe size of the paused next page button.
mapNextPageButtonSizeThe size of the normal next page button.
mapScrollWheelActiveTrue if the scroll wheel zooms the map. Overridden in some panels.
mapShowHighContrastStyleTrue if the custom high contrast map style should be offered to the user.
mapShowPointsOfInterestTrue if maps should show points of interest by default.
mapShowScaleControlTrue if maps should show the scale control by default.
mapShowStreetViewTrue if the StreetView icon should be shown on the map.
menuClassThe CSS class to use on the menu.
optionsDialogHeightThe height of the options dialog.
optionsDialogModalTrue if the options dialog is modal.
optionsDialogPositionThe default position of the options dialog.
optionsDialogWidthThe width of the options dialog.
polarPlotAltitudeConfigs(See Note 6) An array of objects that describe the colours and Z-index for each plot. The object is { low: number, high: number, colour: string, zIndex: number } where low and high describe the altitude range (-1 for an open end) and colour is a CSS string.
polarPlotAutoRefreshSecondsThe number of seconds between the automatic refresh of all polar plots on display. Set to 0 to disable automatic refreshes.
polarPlotDisplayOnStartupAn array of objects that describe the plots to show when the site starts. The object is { feedName: string, low: number, high: number } where low and high describe the altitude range (-1 for an open end) and feedName is the case insensitive name of a feed with a polar plotter attached.
polarPlotEnabledTrue if the user is allowed to see receiver range plots, false if they are to be suppressed.
polarPlotFetchTimeoutThe timeout in milliseconds when fetching polar plots from the server.
polarPlotFetchUrlThe URL to fetch plotter JSON data from.
polarPlotFillColourCallbackA function that is passed the feed ID, low altitude and high altitude and returns the CSS colour for the fill.
polarPlotFillOpacityThe transparency of the polar plot fill. 0.0 is transparent, 1.0 is opaque.
polarPlotStrokeColourThe CSS colour to use for the outline of the plot. If this is an empty string then the plot is outlined in the fill colour.
polarPlotStrokeColourCallbackA function that is passed the feed ID, low altitude and high altitude and returns the CSS colour for the stroke.
polarPlotStrokeOpacityThe transparency of the polar plot's outline. 0.0 is transparent, 1.0 is opaque.
polarPlotStrokeWeightThe pixel width of the lines to draw around the edge of a polar plot.
polarPlotUserConfigurableTrue if the user can configure the receiver range plot colours and opacity.
splitterBorderWidthThe width in pixels of the splitter bar.

Miscellaneous

VRS.globalOptionDescription
aircraftAllowRegistrationFlagOverrideTrue if you want to search for operator flags and silhouettes that match an aircraft's registration. Note that registrations can match the operator code or silhouette for other aircraft.
aircraftBearingCompassSizeAn object of { width: x, height: y } indicating the size of the compass bearing image.
aircraftFlagUncertainCallsignsTrue if callsigns that we're not 100% sure about are to be shown with an asterisk against them on. This overrides all other 'FlagUncertainCallsign' options.
aircraftOperatorFlagSizeAn object of { width: x, height: y } indicating the size of aircraft operator flag images.
aircraftSilhouetteSizeAn object of { width: x, height: y } indicating the size of aircraft silhouette images.
aircraftTransponderTypeSizeAn object of { width: x, height: y } indicating the size of the transponder type images.
audioAnnounceOnlyAutoSelectedTrue if only auto-selected aircraft should have their details announced.
audioAnnounceSelectedTrue if details of selected aircraft should be announced.
audioDefaultVolumeThe default volume for the audio control. Range is 0.0 to 1.0.
audioEnabledTrue if the audio features are enabled (can still be disabled on server). False if they are to be suppressed.
audioTimeoutThe number of milliseconds that must elapse before audio is timed-out.
configSuppressEraseOldSiteConfigTrue if the old site's configuration is not to be erased by the new site. If you set this to false it could lead the new site to be slighty less efficient when sending requests to the server.
currentLocationConfigurableTrue if the user is allowed to set their current location.
currentLocationFixedSet to an object of { lat: 1.234, lng: 5.678 }; to force the default current location (when the user has not assigned a location) to a fixed point rather than the server-configured initial location.
currentLocationIconUrlThe URL of the marker to display on the map for the set current location marker. Set to null for the default Google Map marker.
currentLocationImageSizeAn object of { width: x, height: y } indicating the size of the current location marker in pixels.
currentLocationImageUrlThe URL of the current location marker.
currentLocationShowOnMapTrue if the current location should be shown on the map.
currentLocationUseBrowserLocation(See Note 3) True if the browser location should be used as the current location. This overrides the map centre / user-supplied location options.
currentLocationUseGeoLocationTrue if the option to use the browser's current location should be shown.
currentLocationUseMapCentreForFirstVisitIf true then on the first visit the user-supplied current location is set to the map centre. If false then the user must always choose a current location (i.e. the same behaviour as version 1 of the site).
scriptManagerTimeoutThe timeout in milliseconds when dynamically loading scripts (e.g. Google Maps and the language files).
serverConfigDataTypeThe format that the server configuration will use.
serverConfigIgnoreLanguageTrue to ignore the language settings when importing the configuration stored on the server.
serverConfigIgnoreRequestFeedIdTrue to ignore the feed ID to fetch when importing the configuration stored on the server.
serverConfigIgnoreSplittersTrue to ignore the splitter settings when importing the configuration stored on the server.
serverConfigOverwriteTrue to overwrite the existing configuration with the configuration stored on the server.
serverConfigResetBeforeImportTrue to erase the existing configuration before importing the configuration stored on the server.
serverConfigRetryIntervalThe number of milliseconds to wait before retrying a fetch of server configuration.
serverConfigTimeoutThe number of milliseconds to wait before timing out a fetch of server configuration.
serverConfigUrlThe URL to fetch the server configuration from.
unitDisplayAllowConfigurationTrue if the user can configure the unit display options.
unitDisplayAltitudeTypeTrue if the altitude type should be shown.
unitDisplayDistanceThe default VRS.Distance unit for distances.
unitDisplayFLHeightUnitThe VRS.Height unit that flight levels are displayed in.
unitDisplayFLTransitionAltitudeThe default flight level transition altitude.
unitDisplayFLTransitionHeightUnitThe VRS.Height unit for unitDisplayFLTransitionAltitude.
unitDisplayHeightThe default VRS.Height unit for altitudes.
unitDisplayPressureThe default VRS.Pressure unit for air pressure.
unitDisplaySpeedThe default VRS.Speed unit for speeds.
unitDisplaySpeedTypeTrue if the speed type should be shown.
unitDisplayTrackTypeTrue if the heading type should be shown.
unitDisplayUsePressureAltitudeTrue to show pressure altitudes or false to show corrected altitudes by default.
unitDisplayVerticalSpeedTypeTrue if the vertical speed type should be shown.
unitDisplayVsiPerSecond(See Note 4) True if vertical speeds are to be shown per second rather than per minute.

Reports

VRS.globalOptionDescription
pagePanelClassThe CSS class to assign to page panels in the options dialog.
reportDefaultPageSizeThe default page size to show. Use -1 if you want to default to showing all rows.
reportDefaultSortColumns(See Note 5) The default sort order for reports. Note that the server will not accept any more than two sort columns.
reportDefaultStepSizeThe default step to show on the page size controls.
reportDetailAddMapToDefaultColumns(See Note 3) True if the map should be added to the default columns.
reportDetailClassThe CSS class to assign to the report detail panel.
reportDetailColumnsAn array of VRS.ReportAircraftProperty and VRS.ReportFlightProperty values that are shown in the aircraft detail panel by default.
reportDetailDefaultShowEmptyValuesTrue if empty values are to be shown.
reportDetailDefaultShowUnitsTrue if the detail panel should show units by default.
reportDetailDistinguishOnGroundTrue if the detail panel should show GND for aircraft that are on the ground.
reportDetailShowAircraftLinksTrue if external site links are to be shown.
reportDetailShowSeparateRouteLinkTrue if the user should be shown a link to correct routes.
reportDetailUserCanConfigureColumnsTrue if the user is allowed to configure which values are shown in the detail panel.
reportFindAllPermutationsOfCallsignTrue if all permutations of a callsign should be found.
reportListClassThe CSS class to assign to the report list panel.
reportListDefaultShowUnitsTrue if the default should be to show units.
reportListDistinguishOnGroundTrue if aircraft on ground should be shown as an altitude of GND.
reportListGroupBySortColumnTrue if the report list should show group rows when the value of the first sort column changes.
reportListGroupResetAlternateRowsTrue if the report list should reset the alternate row shading at the start of each group.
reportListManyAircraftColumnsAn array of VRS.ReportFlightProperty and VRS.ReportAircraftProperty values to show for reports with criteria that could cover many aircraft.
reportListShowPagerBottomTrue if the report list is to show a pager below the list.
reportListShowPagerTopTrue if the report list is to show a pager above the list.
reportListSingleAircraftColumnsAn array of VRS.ReportFlightProperty and VRS.ReportAircraftProperty values to show for reports on a single aircraft.
reportListUserCanConfigureColumnsTrue if the user is allowed to configure the columns in the report list.
reportMapClassThe CSS class to assign to the report map panel.
reportMapScrollToAircraftTrue if the map should automatically scroll to show the selected aircraft's path.
reportMapShowPathTrue if a line should be drawn between the start and end points of the aircraft's path.
reportMapStartSelectedTrue if the start point should be displayed in the selected colours, false if the end point should show in selected colours.
reportMaximumCriteriaThe maximum number of criteria that can be passed to a report.
reportPagerAllowPageSizeChangeTrue if the user can change the report page size, false if they cannot.
reportPagerAllowShowAllRowsTrue if the user is allowed to show all rows simultaneously, false if they're not.
reportPagerClassThe CSS class to assign to the report pager panel.
reportPagerSpinnerPageSizeThe number of pages to skip when paging up and down through the page number spinner.
reportShowPermanentLinkToReportTrue to show the permanent link to a report and its criteria.
reportUrlThe URL to fetch report data from.
reportUseRelativeDatesInLinkTrue to use relative dates in the permanent link.

Note 1
The sort order is an array of objects with two properties, field (a VRS.AircraftListSortableField value - see enums.js) and ascending (true or false). The number of elements in the array indicates how many fields the user can sort by. The default value is an array of three elements:

VRS.globalOptions.aircraftListDefaultSortOrder = [
    { field: VRS.AircraftListSortableField.TimeTracked, ascending: true },
    { field: VRS.AircraftListSortableField.None,        ascending: true },
    { field: VRS.AircraftListSortableField.None,        ascending: true }
];

Note 2
The VRS.RenderProperty values are declared in enums.js. Note that not all VRS.RenderProperty values can be used as pin text (e.g. Picture and RouteFull cannot). The default value is an array of three elements - if you declare fewer elements than there are in VRS.globalOptions.aircraftMarkerPinTextLines then the missing elements are set to RenderProperty.None:

VRS.globalOptions.aircraftMarkerDefaultPinTexts = [
    VRS.RenderProperty.Registration,
    VRS.RenderProperty.Callsign,
    VRS.RenderProperty.Altitude
];

Note 3
True if a mobile page is loaded, false if a desktop page is loaded. This is passed through the option VRS.globalOptions.isMobile which is set to true by the mobile pages.

Note 4
True if a flight simulator page is loaded, false if a desktop page is loaded. This is passed through the option VRS.globalOptions.isFlightSim which is set to true by the flight simulator pages.

Note 5
The report sort order is an array of objects with two properties, field (a VRS.ReportSortColumn value - see enums.js) and ascending (true or false). The server will not sort by more than two fields, so it is pointless to set the array to more than two elements. The default report sort order is:

VRS.globalOptions.reportDefaultSortColumns = [
    { field: VRS.ReportSortColumn.Date, ascending: true },
    { field: VRS.ReportSortColumn.None, ascending: false }
];

Note 6
The altitude ranges in the array of colours and z-indexes for each polar plot (aka receiver range plot) must match the altitude ranges that the server is tracking and sending for each polar plotter. These are not configurable, if you change the altitude ranges here then it will not work. All you can do here is remove certain ranges entirely or change their colour / z-index. The default array is:

VRS.globalOptions.polarPlotAltitudeConfigs = VRS.globalOptions.polarPlotAltitudeConfigs || [
    { low: -1, high: -1, colour: '#000000', zIndex: -5 },
    { low: -1, high: 9999, colour: '#FFFFFF', zIndex: -1 },
    { low: 10000, high: 19999, colour: '#00FF00', zIndex: -2 },
    { low: 20000, high: 29999, colour: '#0000FF', zIndex: -3 },
    { low: 30000, high: -1, colour: '#FF0000', zIndex: -4 }
];