User:Minesweeper.007/no dash.js

// put whatever before the $1 // This script changes the "Your signature with timestamp" edit button to use a real em dash instead of two hyphens.

(function {    var oldAddButton = addButton;    if (typeof(oldAddButton) != 'function') return;    addButton = function  {        if (arguments.length > 2)            arguments[2] = arguments[2].replace(/^--(~+)$/, '$1');        oldAddButton.apply(this, arguments);    }; });

//