Skip to content

Instantly share code, notes, and snippets.

@joyfuI
Last active February 26, 2020 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joyfuI/cbc391cdf67ed3e9570ba20b98dedc0e to your computer and use it in GitHub Desktop.
Save joyfuI/cbc391cdf67ed3e9570ba20b98dedc0e to your computer and use it in GitHub Desktop.
퀘이사존 이벤트 게시물의 링크 오류를 수정하는 유저 스크립트
// ==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