W3cubDocs

/Web APIs

TaskAttributionTiming: containerType property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The containerType readonly property of the TaskAttributionTiming interface returns the type of the container, one of iframe, embed, or object.

Value

A string containing the container's type, one of iframe, embed, or object. If no type can be determined, window will be returned.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
containerType 58 79 No No 45 No 58 58 No 43 No 7.0

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/TaskAttributionTiming/containerType