Last active
February 26, 2020 10:53
-
-
Save joyfuI/cbc391cdf67ed3e9570ba20b98dedc0e to your computer and use it in GitHub Desktop.
퀘이사존 이벤트 게시물의 링크 오류를 수정하는 유저 스크립트
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name QUASAR ZONE Event Fix | |
// @namespace https://joyfui.wo.tc/ | |
// @version 1 | |
// @author joyfuI | |
// @description 퀘이사존 이벤트 게시물의 링크 오류를 수정합니다. | |
// @homepageURL https://gist.github.com/joyfuI/cbc391cdf67ed3e9570ba20b98dedc0e | |
// @downloadURL https://gist.github.com/joyfuI/cbc391cdf67ed3e9570ba20b98dedc0e/raw/quasarzone-event-fix.user.js | |
// @include https://quasarzone.co.kr/bbs/board.php*bo_table=qe_event* | |
// @run-at document-end | |
// @grant none | |
// ==/UserScript== | |
(function () { | |
"use strict"; | |
let nodes = document.getElementsByTagName('map'); | |
for (let i of nodes) { | |
if (i.name.startsWith('#')) { | |
i.name = i.name.substring(1, i.name.length); | |
} | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment