---
title: hasInjectedContent
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextensioncontext/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.

## See Also

### Related Documentation

- [hasInjectedContent(for:)](webkit/wkwebextensioncontext/hasinjectedcontent(for:).md)
