---
title: hasOnlySecureContent
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webpage/hasonlysecurecontent
---

# hasOnlySecureContent

Indicates whether the webpage loaded all resources on the page through securely encrypted connections.

## Declaration

```swift
@MainActor final var hasOnlySecureContent: Bool { get }
```

## See Also

### Inspecting page information

- [WebPage.CSSMediaType](webkit/webpage/cssmediatype.md)
- [title](webkit/webpage/title.md)
- [url](webkit/webpage/url.md)
- [mediaType](webkit/webpage/mediatype.md)
- [customUserAgent](webkit/webpage/customuseragent.md)
- [serverTrust](webkit/webpage/servertrust.md)
- [themeColor](webkit/webpage/themecolor.md)
- [isBlockedByScreenTime](webkit/webpage/isblockedbyscreentime.md)
- [isInspectable](webkit/webpage/isinspectable.md)
- [isWritingToolsActive](webkit/webpage/iswritingtoolsactive.md)
