annotationJavascriptExtensions
This parameter determines whether the viewer accepts calls for certain JavaScript methods to provide an extra level of security.
This parameter affects the following JavaScript methods:
- modifyAnnotation(label, annotationProperties)
- reloadAnnotations()
- saveAnnotations()
- setAnnotationFile(url)
- deleteAnnotation(label)
- deleteAllAnnotations(type, page)
- addAnnotation(properties)
- getActiveAnnotation()
- getAnnotation(label)
- getAnnotations(jsonFilter)
- getAnnotationById(id)
- getAnnotationLabels(type, page)
- setAnnotationsSemiTransparent(boolean, type)
- startAnnotation(type, isSticky, jsonProperties)
- cancelAnnotation()
The default value for this parameter is false, which enables the
viewer to accept calls for these methods.
Sample syntax
<param name="annotationJavascriptExtensions" value="true" />