Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
GeekNews 기사 링크를 새탭열기로 바꿔주는 Greasemonkey script 입니다.
// ==UserScript==
// @name GeekNews Helper
// @namespace
// @version 0.2
// @description GeekNews helper
// @author nezz
// @include*
// @grant none
// ==/UserScript==
(function() {
'use strict';
Array.from(document.getElementsByClassName('topictitle')).forEach((el) => {el.getElementsByTagName('a')[0].setAttribute('target', '_blank');});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment