Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά παραβίασης».

Μάθετε περισσότερα

Feature Request: Dynamic URL Placeholder in `browser.ml.chat.prompts` for Firefox AI Integration

  • 3 απαντήσεις
  • 0 έχουν αυτό το πρόβλημα
  • 20 προβολές
  • Τελευταία απάντηση από Paul

more options

Hi all,

I’ve been experimenting with Firefox’s new AI chat integration and adding custom prompts via `about:config` using `browser.ml.chat.prompts.#`.

Right now, prompt values are static JSON strings, like:

```json {"label":"Answer","id":"answer","value":"Answer selected question"} ```

This works great for fixed text, but there’s no way to dynamically include useful context like the **current page URL**.

For example, I’d like to create a prompt like:

```json {"label":"Summarize w/ URL","id":"summarize_with_url","value":"Summarize this selection. Page URL: {{url}}"} ```

…but currently, `{{url}}` (or similar placeholders) isn’t supported, and the AI chat doesn’t automatically pull the page URL as context.

This means I either have to manually copy/paste the URL or use a separate bookmarklet workaround, which breaks the smooth workflow.

    • Feature request:**
  • Add support for variables like `{{url}}`, `{{title}}`, or `{{selection}}` in `browser.ml.chat.prompts`.
  • This would make prompts far more powerful and let AI chat automatically reference page context.

Has anyone found a hidden about:config trick for this, or can this be added to Firefox’s roadmap?

Thanks!

Hi all, I’ve been experimenting with Firefox’s new AI chat integration and adding custom prompts via `about:config` using `browser.ml.chat.prompts.#`. Right now, prompt values are static JSON strings, like: ```json {"label":"Answer","id":"answer","value":"Answer selected question"} ``` This works great for fixed text, but there’s no way to dynamically include useful context like the **current page URL**. For example, I’d like to create a prompt like: ```json {"label":"Summarize w/ URL","id":"summarize_with_url","value":"Summarize this selection. Page URL: {{url}}"} ``` …but currently, `{{url}}` (or similar placeholders) isn’t supported, and the AI chat doesn’t automatically pull the page URL as context. This means I either have to manually copy/paste the URL or use a separate bookmarklet workaround, which breaks the smooth workflow. **Feature request:** * Add support for variables like `{{url}}`, `{{title}}`, or `{{selection}}` in `browser.ml.chat.prompts`. * This would make prompts far more powerful and let AI chat automatically reference page context. Has anyone found a hidden about:config trick for this, or can this be added to Firefox’s roadmap? Thanks!

Τροποποιήθηκε στις από τον/την Med

Όλες οι απαντήσεις (3)

more options

Hi,

The people who answer questions here, for the most part, are other users volunteering their time (like me), not Mozilla employees or developers. If you want to leave feedback for developers, you can go to the Firefox Help menu and select Share ideas and feedback…. Alternatively, you can use this link. Your feedback gets collected by a team of people who read it and gather data about the most common issues.

You can also file a bug report or feature request. See File a bug report or feature request for Mozilla products for details.

Χρήσιμο;

more options

Paul said

You can also file a bug report or feature request. See File a bug report or feature request for Mozilla products for details.

Thanks, I guess there's no one with a good workaround. I made this feature request: https://connect.mozilla.org/t5/ideas/ai-chatbot-prompts-and-url-placeholder/idi-p/104862

Χρήσιμο;

more options

Awesome! I know that some of the chatbot team at Mozilla do follow what is going on in Connect so hopefully they will see your post.

Χρήσιμο;

Υποβολή ερώτησης

Πρέπει να συνδεθείτε στον λογαριασμό σας για να απαντήσετε σε δημοσιεύσεις. Ξεκινήστε μια νέα ερώτηση εάν δεν διαθέτετε ακόμα λογαριασμό.