// ==UserScript== // @name 巴哈姆特之查詢該使用者本看板發文 // @description 直接查該作者的其他文章,省去查詢時間 // @namespace nathan60107 // @version 1.0 // @author nathan60107(貝果) // @homepage https://home.gamer.com.tw/homeindex.php?owner=nathan60107 // @match *forum.gamer.com.tw/C* // @icon https://www.google.com/s2/favicons?domain=gamer.com.tw // @run-at document-end // @noframes // @downloadURL none // ==/UserScript== (function() { let bsn = window.location.href.match(/.*bsn=(\d+).*/)[1] for(let user of jQuery(".c-post__header__author")){ let uid = jQuery(user).find(".userid")[0].innerText jQuery(user).append(` 本板發文 `) } })();