Gebruiker:Wim/vector.js

Uit Limesco Wiki
Ga naar: navigatie, zoeken
/* <pre><nowiki> */

// http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Sigdash
(function () {
    var oldAddButton = window.addButton;
    if (typeof(oldAddButton) != 'function') return;
    addButton = function () {
        if (arguments.length > 2)
            arguments[2] = arguments[2].replace(/^--(~+)$/, '∼ $1');
        oldAddButton.apply(this, arguments);
    };
})();

// </nowiki></pre> //