> For the complete documentation index, see [llms.txt](https://docs.zep.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zep.us/zep-script/zep-script-guide/appendix/grammar-available-for-widgets.md).

# Grammar Available for Widgets

## Open a Webpage in a New Window

You can open a webpage in a new window by entering the codes below within the widget's `<script>` tag.

```
let url = "https://zep.us/";
window.parent.postMessage({
	type: 'ScriptAction:OPEN_WINDOW',
	link: url,
	zepSystem: true
}, '*');
```
