# Extension

### Introduction

Extension is an advanced function for Messenger platform.

When a button’s hyperlink is connected with a website, you can select the prompt action to be an “extension”. Then when a customer clicks on the button, a website will be displayed directly on the current tab as an extension. This will not open any new windows or new tabs.&#x20;

{% hint style="success" %}
When using “Extension” function, the linked website only needs support for mobile devices. There’s no need for an extra desktop version of the website.
{% endhint %}

![](/files/-LnpyugSOq9e4lhtvnpt)

![](/files/-LnpzLphZIDUmLHip-8H)

{% hint style="info" %}
Currently, websites need to meet the standards of the Messenger Extension SDK in order to be used as extension windows.
{% endhint %}

For more detail and official documentation, visit <https://developers.facebook.com/docs/messenger-platform/guides/chat-extensions><br>


---

# Agent Instructions: 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:

```
GET https://docs-en.yoctol.ai/advanced-settings/extension.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
