// ==UserScript== // @name Better Links UX for ESJ Zone // @name:zh-TW ESJ Zone:更好的連結體驗 // @description Improve the UX of ESJ Zone by tweaking the hyperlinks in the pages. // @description:zh-TW 透過調整 ESJ Zone 的超連結來改善使用體驗。 // @author Jason Kwok // @namespace https://jasonhk.dev/ // @version 1.0.1 // @license MIT // @match https://www.esjzone.cc/detail/* // @run-at document-end // @grant none // @supportURL https://greasyfork.org/scripts/449315/feedback // @downloadURL none // ==/UserScript== const chapters = document.querySelectorAll("#chapterList a"); for (const chapter of chapters) { chapter.target = "_self"; }