2

About

Makes the "Delete" button on comments match the other comment links.

Created in response to this post on Meta SO.

Download

Get it on GitHub, or from here:

// ==UserScript==
// @name         CommentDeleter ColorMatcherâ„¢
// @description     Make the comment Delete link match the other links on the comment
// @version  1
// @grant    none
// @include  https://*stackoverflow.com/*
// @include  https://*superuser.com/*
// @include  https://*serverfault.com/*
// @include  https://*stackapps.com/*
// @include  https://*askubuntu.com/*
// @include  https://*stackexchange.com/*
// ==/UserScript==

function with_jquery(f) {
  var script = document.createElement("script");
  script.type = "text/javascript";
  script.textContent = "(" + f.toString() + ")(jQuery)";
  document.body.appendChild(script);
}

with_jquery(function(){
  StackExchange.ready(function(){
    $(".comment-delete").removeClass("fc-red-600");
  });
});

Platform

Tested in GreaseMonkey.

Code

Made with jQuery!

Report s and s on GitHub.

0

You must log in to answer this question.

Browse other questions tagged .