정보&강의 뽐뿌 링크프라이스를 무력화 하기
- 운영자
- 566
- 0
각 브라우저별 확장프로그램은 공홈에서 받으세요.
뽐뿌 링크프라이스 무력화 소스입니다.
// ==UserScript== // @name ppomppu Linkprice Paralyzer // @namespace  http://*.ppomppu.co.kr/ // @version 0.1 // @description ppomppu Linkprice Paralyzer // @author You // @match  http://*.ppomppu.co.kr/* // @grant none // ==/UserScript== (async function() { 'use strict'; if (document.readyState === 'loading') { await new Promise(resolve => { document.addEventListener('DOMContentLoad', () => resolve(), { once: true }); }); } /** * Paralyze Linkprice. */ for (const element of document.querySelectorAll('a').values()) { const namePart = element.nextElementSibling; const url = element.getAttribute('href'); if (url !== element.textContent && typeof(url) == 'string') { if (url.match(/s.ppomppu/)) { console.log(url, typeof(url)); element.setAttribute('href', element.textContent); if (namePart) { namePart.textContent = 'Paralyzed!'; } } } } })();
소스를 입력하고, 뽐뿌에 접속하면 이렇게 활성화가 됩니다.
링크프라이스 태그가 없어졌습니다. ^^
이런 글도 찾아보세요!
댓글 0
권한이 없습니다. 로그인