https://gall.dcinside.com/m/helldiversseries/271464
원클릭으로 망호를 타보자https://gall.dcinside.com/m/helldiversseries/271397 망호 링크 클릭하면 열리게 하는거 없을까 - 헬다이버즈 시리즈 마이너 갤러리틀은 아닌데 매번 복사해gall.dcinside.com파이어폭스 본문
요거 깔면됨
설치하고 본문이랑 똑같이 스크립트 붙여넣기ㄱㄱ
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// ==UserScript==// @name Steamlink for Opening Mangho
// @namespace http://tampermonkey.net/
// @version 2024-11-27
// @description Convert plain text steam://joinlobby/ links to clickable links that open in a new tab
// @author You
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// steam://joinlobby/ 링크를 찾기 위한 정규식
const regex = /\bsteam:\/\/joinlobby\/[^\s]+\b/g;
// 페이지에서 텍스트 노드를 찾아서 변환
const walk = document.body.createTextRange ? walkDOMWithTextRange : walkDOM;
walk(document.body);
function walkDOM(node) {
const nodes = node.childNodes;
for (let i = 0; i < nodes.length; i++) {
const currentNode = nodes[i];
if (currentNode.nodeType === 3) { // 텍스트 노드만 처리
processTextNode(currentNode);
} else if (currentNode.nodeType === 1 && currentNode.nodeName !== 'STYLE' && currentNode.nodeName !== 'SCRIPT') { // 다른 태그 노드는 무시
walkDOM(currentNode);
}
}
}
function walkDOMWithTextRange(node) {
let textRange = document.body.createTextRange();
textRange.moveToElementText(node);
textRange.select();
}
function processTextNode(textNode) {
const originalText = textNode.nodeValue;
const newText = originalText.replace(regex, function(match) {
// 해당 텍스트를 <a> 태그로 변환
return `<a href="${match}" target="_blank">${match}</a>`;
});
if (newText !== originalText) {
const newNode = document.createElement('span');
newNode.innerHTML = newText; // 변환된 HTML을 innerHTML로 설정
textNode.parentNode.replaceChild(newNode, textNode);
}
}
})();
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
망호 경쟁 ㅈ됐다
뜌땨..
뜌뜌
이젠 10초컷당하겠네
님들 이거 하면 이사람한테 컴퓨터 해킹당함 조심하셈ㄷㄷㄷㄷ
ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
이거깔고나서제사진폴더에 퍼리야짤이가득해졋어요
아 안돼 시발 - dc App
스팀 링크 URL 딸깍 접속법 와드