---
title: userScripts
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkusercontentcontroller/userscripts
---

# userScripts

The user scripts associated with the user content controller.

## Declaration

```swift
var userScripts: [WKUserScript] { get }
```

## See Also

### Adding and Removing Custom Scripts

- [addUserScript(_:)](webkit/wkusercontentcontroller/adduserscript(_:).md)
- [removeAllUserScripts()](webkit/wkusercontentcontroller/removealluserscripts().md)
