Disable "Ask AI"

So this morning I updated Firefox to v.145 and then went reading the Ocaml Discourse.
Now, when I start selecting text within any article, a small “Ask AI” window (or menu?) pops up.
This is horrible. Selecting and copying text is a major workflow for me, and I have no use for AI. Of course I blamed it on Firefox first. But then I opened my own website, which is a plain unstyled HTML page, and it is /not/ happening there. So there must be something Discourse does, either the upstream Discourse code or this one specifically, to trigger it. How can I stop it?

6 Likes

I have this in my ublock0 custom filters


discuss.ocaml.org##.quote-button

it removes the whole popup (I don’t like popups when I select text).

10 Likes

Excellent, thank you. I’d mark your post as Solution if only I knew how :stuck_out_tongue:

Thanks, that’s a good tip! The overriding of text selection is pretty integral to Discourse due to its quoting functionality, so there’s no way to disable this in general I think.

Great tip, thanks. I blocked the selector div.ai-post-helper because I just want to get rid of the AI button in the quote menu.

1 Like

I have simply adopted the fashionable, contemporary, lexicon in my changes.

2 Likes