dszh无头贴显示

dszh无头贴显示★

// ==UserScript==
// @name         dszh无头贴显示
// @namespace    http://tampermonkey.net/
// @version      0.1.1
// @description  dszh无头贴显示★
// @license MIT
// @author       zds
// @match        https://dszh.org/list.php?*
// @match        *://dszh.xyz/list.php?*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=dszh.org
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    window.onload=function(){//do something

	var lists = document.getElementsByTagName("a");
	for(var i = 0;i < lists.length;i++)
	{
		if(lists[i].innerText==""&&lists[i].href.includes("show"))
		{
			lists[i].innerText="★";
		}
	}
}
})();