When a comment chain is too long, new comments have to be loaded through the add / show 1 more comments link. After clicking on this link, I can add a reply:

Please avoid extended discussions in comments. Would you like to automatically move this discussion to chat?

After quickly misclicking on the textarea, a new chat is created. Without any confirmation...


I've experienced this at least three times. Can a confirmation dialog be added, so that chatrooms cannot be created by accident?

share|improve this question
4  
Better yet, can users just have the ability to turn that feature off altogether if they don't wish to participate in chat? That would even prevent other people from inviting them to chat. –  Cody Gray Feb 10 '12 at 18:50
1  
@CodyGray That's an easy thing to do: Create a User Stylesheet, e.g using Stylish, and add the following line: @-moz-document domain("stackoverflow.com") {.discussion-info{display:none;}}. You will never see that thing again. –  Rob W Feb 10 '12 at 18:59
add comment

1 Answer

up vote 6 down vote accepted

I have been using this Stylish sheet for a while, without any issues:

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain('stackoverflow.com'),
               domain('stackexchange.com'),
               domain('superuser.com'),
               domain('serverfault.com'),
               domain('stackapps.com'),
               domain('askubuntu.com') {
    .discussion-info { /* Hide move to chat "feature" */
        display: none !important;
    }
}

This can be implemented in a UserScript/GreaseMonkey/Chrome extension using (Click here for help on installing an User Script. Generally, open your text editor, paste the code below in it, and save the file with a .user.js extension. Then open the file in your browser):

// ==UserScript==
// @name           Stack Exchange: Get rid of move-to-chat suggestion
// @namespace      Rob W
// @match          http://stackoverflow.com/questions/*
// @match          http://meta.stackoverflow.com/questions/*
// @match          http://superuser.com/questions/*
// @match          http://meta.superuser.com/questions/*
// @match          http://serverfault.com/questions/*
// @match          http://meta.serverfault.com/questions/*
// @match          http://askubuntu.com/questions/*
// @match          http://meta.askubuntu.com/questions/*
// @match          http://*.stackexchange.com/questions/*
// @match          http://answers.onstartups.com/questions/*
// @match          http://meta.answers.onstartups.com/questions/*
// @match          http://stackapps.com/questions/*
// @author         Rob W
// @version        1.0
// @run-at         document-end
// ==/UserScript==

var s = document.createElement('style');
s.appendChild(s.createTextNode('.discussion-info{display:none;}'));
document.getElementsByTagName('head')[0].appendChild(s);
share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .