« first day    last day (26 days later) » 

2:34 PM
@amWhy @MartinR: I improved my delete-status userscript a bit (and shortened the replacement text a bit):
// ==UserScript==
// @name        Delete Status
// @namespace   SE
// @include     *
// @version     1
// @grant       none
// ==/UserScript==

host=location.hostname;
if( host.match(/(^|\.)(stackexchange|(stack|math)overflow|superuser|askubuntu|serverfault)\.(com|net)$/) )
{
	function delstatus()
	{
		for( link of document.getElementsByClassName("js-delete-post") )
		{
			var title=link.getAttribute("title");
			if( title.match(/voted|other users/) ) link.innerHTML=link.innerHTML.replace("Delete ","Delete-voted ");
 
2:52 PM
@user21820 I had to make minor changes in order to make it work with Tampermonkey on Safari, but now it seems to work fine, thanks for your work. – I would suggest to continue further announcements and discussion of your script somewhere else (e.g. in a separate chat room) so that it does not distract from the main purpose of this room.
 
@MartinR Yea do you already have a suitable room for such stuff? I don't have one now and it would be troublesome to keep alive.
 
 
4 hours later…
7:20 PM
11 messages moved from CURED
Latest version also modifies the close button:
// ==UserScript==
// @name        Delete Status
// @namespace   SE
// @include     *
// @version     1
// @grant       none
// ==/UserScript==

host=location.hostname;
if( host.match(/(^|\.)(stackexchange|(stack|math)overflow|superuser|askubuntu|serverfault)\.(com|net)$/) )
{
	function cdstatus()
	{
		for( link of document.getElementsByClassName("js-close-question-link") )
		{
			var title=link.getAttribute("title");
			if( title.match(/voted|other users/) ) link.innerHTML=link.innerHTML.replace(/Close[ \n]/,"Close-voted ");
@MartinR In case it benefits others, could you please tell what minor changes you made for TM?
 
Love the room description too! Thanks!!
 
You're welcome!
 
Sure. TM did not like the global variable host=location.hostname;, therefore I replaced that by if( location.hostname.match(...) ) in the next line. Also I had to declare the loop variables with for(let menu of ...).
Disclaimer: I am not a JavaScript expert, so I cannot judge if TM is right to complain, or if that are the correct fixed. But it made the script work.
 

« first day    last day (26 days later) »