> For the complete documentation index, see [llms.txt](https://cranford-tech.gitbook.io/charles/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cranford-tech.gitbook.io/charles/key-features.md).

# Key features

- [Features overview](https://cranford-tech.gitbook.io/charles/key-features/features-overview.md)
- [Open website on install / uninstall](https://cranford-tech.gitbook.io/charles/key-features/open-website-on-install-uninstall.md)
- [Get tab info](https://cranford-tech.gitbook.io/charles/key-features/get-tab-info.md)
- [Get text selected by user](https://cranford-tech.gitbook.io/charles/key-features/get-text-selected-by-user.md)
- [Get element text](https://cranford-tech.gitbook.io/charles/key-features/get-element-text.md)
- [Get element HTML](https://cranford-tech.gitbook.io/charles/key-features/get-element-html.md)
- [Set element inner text](https://cranford-tech.gitbook.io/charles/key-features/set-element-inner-text.md)
- [Set element inner HTML](https://cranford-tech.gitbook.io/charles/key-features/set-element-inner-html.md)
- [Open URL in sidebar modal](https://cranford-tech.gitbook.io/charles/key-features/open-url-in-sidebar-modal.md)
- [Open URL in fullscreen modal](https://cranford-tech.gitbook.io/charles/key-features/open-url-in-fullscreen-modal.md)
- [Copy text to clipboard](https://cranford-tech.gitbook.io/charles/key-features/copy-text-to-clipboard.md)
- [Populate an input field](https://cranford-tech.gitbook.io/charles/key-features/populate-an-input-field.md)
- [Simulate mouse click on an element](https://cranford-tech.gitbook.io/charles/key-features/simulate-mouse-click-on-an-element.md)
- [Capture screenshot](https://cranford-tech.gitbook.io/charles/key-features/capture-screenshot.md)
- [Open URL in new tab](https://cranford-tech.gitbook.io/charles/key-features/open-url-in-new-tab.md)
- [Show native alert](https://cranford-tech.gitbook.io/charles/key-features/show-native-alert.md)
- [Set an extension badge color and text](https://cranford-tech.gitbook.io/charles/key-features/set-an-extension-badge-color-and-text.md)
- [Change extension icon](https://cranford-tech.gitbook.io/charles/key-features/change-extension-icon.md)
- [Close extension](https://cranford-tech.gitbook.io/charles/key-features/close-extension.md)
- [Save to Chrome storage](https://cranford-tech.gitbook.io/charles/key-features/save-to-chrome-storage.md)
- [Injecting custom javascript](https://cranford-tech.gitbook.io/charles/key-features/injecting-custom-javascript.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cranford-tech.gitbook.io/charles/key-features.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
