SVGAElement: ping property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The ping property of the SVGAElement interface returns a string that reflects the ping attribute, containing a space-separated list of URLs to which, when the hyperlink is followed, POST requests with the body PING will be sent by the browser (in the background). Typically used for tracking.

This property can be set, to change the URL's ping value. It reflects the value of the ping attribute.

Value

A string.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGAElement__ping

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
ping
Chrome – Full support
Chrome 144 (Release date: 2026-01-13)
footnote Full support
Edge – Full support
Edge 144 (Release date: 2026-01-21)
footnote Full support
Firefox – Partial support
Firefox 61 (Release date: 2018-06-26)
footnote Partial support
footnote This property is exposed but has no effect if the browser.send_pings preference is not set to true. See bug 951104.
Opera – Full support
Opera 128 (Release date: 2026-02-26)
footnote Full support
Safari – No support
Safari
footnote No support
Chrome Android – Full support
Chrome Android 144 (Release date: 2026-01-13)
footnote Full support
Firefox for Android – Partial support
Firefox for Android 61 (Release date: 2018-06-26)
footnote Partial support
footnote This property is exposed but has no effect if the browser.send_pings preference is not set to true. See bug 951104.
Opera Android – Full support
Opera Android 95 (Release date: 2026-02-11)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – No support
Samsung Internet
footnote No support
WebView Android – Full support
WebView Android 144 (Release date: 2026-01-13)
footnote Full support
WebView on iOS – No support
WebView on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
No support
No support

See also