애드블럭을 제거하거나 잠시 꺼주세요.


※ 자료설명 ※

각 브라우저별 확장프로그램은 공홈에서 받으세요.

https://www.tampermonkey.net/

 

 

뽐뿌 링크프라이스 무력화 소스입니다.

 

// ==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!';
                }
            }
        }
    }
})();

 

소스를 입력하고, 뽐뿌에 접속하면 이렇게 활성화가 됩니다.

이미지 5.png

 

이미지 6.png

 

링크프라이스 태그가 없어졌습니다. ^^



※ 자료현황 ※
등록일 : 2020-06-04 07:35:39 / 문서노출 : 560 / 다운로드 0


※ 파일 다운로드 ※
파일 이름 : 이미지 5.png (10.0KB)