瀏覽單個文章
michelle-lai529
Regular Member
 

加入日期: Jun 2010
文章: 86
撰寫了一個竄改猴用插件原始碼,可以隱藏特定id的全部發文,要增加或修改的,請自行在原碼陣列中增減
----以下為竄改猴原始碼,請自行貼上----
// ==UserScript==
// @name pcdvd隱藏發文
// @namespace http://tampermonkey.net/
// @version 2024-05-23
// @description pcdvd隱藏發文
// @author You
// @match https://www.pcdvd.com.tw/forumdisplay.php*
// @icon https://www.google.com/s2/favicons?...in=pcdvd.com.tw
// @require https://code.jquery.com/jquery-1.11.0.min.js
// @grant none
// ==/UserScript==

(function() {
//隱藏發文ID清單陣列
var hideIDArray = [
'ytb0315'
,'w8433'
];

$("span").each(function( index ){
if(hideIDArray.indexOf($(this).text())>=0){
$(this).closest('tr').css("display", "none");
}
});
})();
 
舊 2024-05-23, 11:58 AM #42
回應時引用此文章
michelle-lai529離線中