---
title: hasInjectedContent
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/hasinjectedcontent
---

# hasInjectedContent

A Boolean value indicating whether the extension has script or stylesheet content that can be injected into webpages.

## Declaration

```swift
var hasInjectedContent: Bool { get }
```

## Discussion

Discussion If this property is YES, the extension has content that can be injected by matching against the extension’s requested match patterns. note: Once the extension is loaded, use the hasInjectedContent property on an extension context, as the injectable content can change after the extension is loaded.
