질문과 답변

소프트웨어 아마존 사이트에 접속이 전혀 안됩니다.

2021.12.13 18:12

줄넘기 조회:364

 

www.amazon.com 으로는 절대 접속이 안됩니다.

 

접속하면 아래와 같은 화면이 출력됩니다.

 

aaa.jpg

 

 

 

타 사이트에서 링크를 클릭하면 무조건 click.linkprice.com으로 연결되면서 연결된 사이트가 그냥 검게 나오는 현상이 100% 발생했습니다.

 

이거 수정해 보겠다고 어제 새벽에 엣지의 확장 프로그램인 tampermonkey 라는 프로그램 설치후 링크프라이스를 자기 한테

쏴주는 프로그으로 스크립트를 수정했는데, 그 이후로 아마존에 정상적으로 연결되지 않습니다.

 

그래서 확장 프로그램을 삭제했음에도 역시 아마존은 전혀 연결이 안됩니다.

 

해결책이 있을까요? 

 

물론 확장 프로그램 삭제 및 리부팅해도 결과는 같습니다.

 

윈도우 10 엔터, 크롬엣지, 크롬 입니다. 물론 hosts 파일에는 아무 문제 없습니다.

 

해당 확장 프로그램을 삭제했지만, 그 이후로도 역시 아마존은 접근이 안됩니닫.

 

참고로 해당 스크립트는 아래와 같습니다.

 

// ==UserScript==
// @name         Linkprice Paralyzer
// @namespace
// @version      0.4.1
// @description  Linkprice Paralyzer
// @author       You
// @match        *://*/*
// @grant        none
// @date         2021.3.23
// ==/UserScript==
 
 
 
 
let linkprice_aid = 'A100019377';
let current_page = document.location.href;
let linkprice_own_code = current_page.match(/A\d{9}/);
 
 
 
 
// location 방식 커뮤니티 처리 코드
if (linkprice_own_code && linkprice_aid != linkprice_own_code && current_page.match(/click.linkprice.com\/click.php/)) {
    alert(linkprice_own_code + '가 본인코드(' + linkprice_aid +')가 아닙니다.\n점검 화면으로 이동합니다.');
    let regex = /tu=(.*)/;
    let tu = current_page.match(regex);
    const requstUrl = myUrl+'?url=' + encodeURIComponent(tu[1]) + '&linkprice_aid=' + linkprice_aid + '&referer=' + encodeURIComponent(current_page);
    location.href = requstUrl;
}
 
 
 
 
// 링크
(async function() {
    'use strict';
 
 
    if (document.readyState === 'loading') {
        await new Promise(resolve => {
            document.addEventListener('DOMContentLoad', () => resolve(), { once: true });
        });
    }
 
 
    /**
     * Paralyze Linkprice.
     */
 
 
    if ( current_page.match(/\.amazon./) || current_page.match(/\.google./) || current_page.match(/193\.123\.238\.64/) ) {
    // 검색 및 본사이트는 제외
        console.log(current_page, typeof(current_page), 'close');
        return false;
 
 
    } else if ( current_page.match(/prod.danawa.com\/bridge\/loadingBridge.html/) ) {
        // 다나와 사이트
        let paragraph = document.getElementsByTagName('html')[0].innerHTML;
        let regex = /(?:goLink\(\')(.*)(?:\'\)\;)/;
        let found = paragraph.match(regex);
        const requstUrl = myUrl+'?url=' + encodeURIComponent(found[1]) + '&linkprice_aid=' + linkprice_aid + '&referer=' + encodeURIComponent(current_page);
        console.log(current_page, typeof(current_page), found[1], 'danawa');
        location.href = requstUrl;
        return false;
    } else if ( current_page.match(/enuri.com\/move\/Redirect.jsp/) ) {
        // 에누리 사이트
        let paragraph = document.getElementsByTagName('html')[0].innerHTML;
        let regex = /(?:location.href\s\=\s\")(.*)(?:";)/;
        let found = paragraph.match(regex);
        const requstUrl = myUrl+'?url=' + encodeURIComponent(found[1]) + '&linkprice_aid=' + linkprice_aid + '&referer=' + encodeURIComponent(current_page);
        console.log(current_page, typeof(current_page), found[1], 'enuri');
        location.href = requstUrl;
        return false;
    } else if ( current_page.match(/cr.shopping.naver.com\/adcr.nhn/) ) {
        // 지식쇼핑
        let paragraph = document.getElementsByTagName('html')[0].innerHTML;
        let regex = /(?:targetUrl\s\=\s\")(.*)(?:\"\;)/;
        let found = paragraph.match(regex);
        const requstUrl = myUrl+'?url=' + encodeURIComponent(found[1]) + '&linkprice_aid=' + linkprice_aid + '&referer=' + encodeURIComponent(current_page);
        console.log(current_page, typeof(current_page), found[1], 'naver');
        location.href = requstUrl;
        return false;
    } else if ( current_page.match(/\.slrclub.com/) ) {
    // slrclub
        console.log(current_page, typeof(current_page), 'slrclub');
 
 
        for (const element of document.getElementById('userct').querySelectorAll('a').values()) {
            const nextPart = element.nextElementSibling;
            const url = element.getAttribute('href');
 
 
            if (typeof(url) == 'string') {
                const requstUrl = myUrl+'?url=' + encodeURIComponent(element.textContent) + '&linkprice_aid=' + linkprice_aid;
                console.log(requstUrl, typeof(requstUrl));
                element.setAttribute('href', requstUrl);
                if (nextPart) {
                    nextPart.innerHTML = '<a href="'+element.textContent+'" target="_blank">Paralyzer Link</a>';
                }
            }
        }
    } else if ( current_page.match(/\.clien.net/) ) {
    // clien
        console.log(current_page, typeof(current_page), 'clien');
 
 
        for (const element of document.querySelector('.post_content').querySelectorAll('a').values()) {
            const nextPart = element.nextElementSibling;
            const url = element.getAttribute('href');
 
 
            console.log(url, element.textContent, 'data');
 
 
            if (typeof(url) == 'string') {
                const requstUrl = myUrl+'?url=' + encodeURIComponent(element.textContent) + '&linkprice_aid=' + linkprice_aid;
                console.log(requstUrl, typeof(requstUrl));
                element.setAttribute('href', requstUrl);
                if (nextPart) {
                    nextPart.innerHTML = '<a href="'+element.textContent+'" target="_blank">Paralyzer Link</a>';
                }
            }
        }
    } else if ( current_page.match(/\.ruliweb.com/) ) {
    // ruliweb
        console.log(current_page, typeof(current_page), 'ruliweb');
 
 
        for (const element of document.querySelector('.board_main_view').querySelectorAll('a').values()) {
            const nextPart = element.nextElementSibling;
            const url = element.getAttribute('href');
 
 
            console.log(url, element.textContent, 'data');
 
 
            if (url !== element.textContent && typeof(url) == 'string') {
                const requstUrl = myUrl+'?url=' + encodeURIComponent(element.textContent) + '&linkprice_aid=' + linkprice_aid;
                console.log(requstUrl, typeof(requstUrl));
                element.setAttribute('href', requstUrl);
                if (nextPart) {
                    nextPart.innerHTML = '<a href="'+element.textContent+'" target="_blank">Paralyzer Link</a>';
                }
            }
        }
    } else if ( current_page.match(/quasarzone.com/) ) {
    // quasarzone
        console.log(current_page, typeof(current_page), 'quasarzone');
 
 
        for (const element of document.querySelector('.market-info-view-table').querySelectorAll('a').values()) {
            const nextPart = element.nextElementSibling;
            const url = element.getAttribute('href');
 
 
            console.log(url, element.textContent, 'quasarzone');
 
 
            if (url !== element.textContent && typeof(url) == 'string') {
                const requstUrl = myUrl+'?url=' + encodeURIComponent(element.textContent) + '&linkprice_aid=' + linkprice_aid;
                console.log(requstUrl, typeof(requstUrl));
                element.setAttribute('href', requstUrl);
                element.setAttribute('target', '_blank');
                if (nextPart) {
                    nextPart.innerHTML = '<a href="'+element.textContent+'" target="_blank">Paralyzer Link</a>';
                }
            }
        }
    } else {
    // 뽐뿌
        for (const element of document.querySelectorAll('a').values()) {
            const nextPart = element.nextElementSibling;
            const url = element.getAttribute('href');
 
 
            if (url !== element.textContent && typeof(url) == 'string') {
 
 
                if ( (url.match(/s.ppomppu/) && !element.textContent.match(/s.ppomppu/)) || url.match(/click.linkprice.com/) || url.match(/lpweb.kr/) || url.match(/linkmoa.kr/) || url.match(/lase.kr/) || url.match(/bestmore.net/) || url.match(/newtip.net/) || url.match(/amazon./)) {
 
 
                    const requstUrl = myUrl+'?url=' + encodeURIComponent(element.textContent) + '&linkprice_aid=' + linkprice_aid;
 
 
                    console.log(requstUrl, typeof(requstUrl));
 
 
                    element.setAttribute('href', requstUrl);
 
 
                    if (nextPart) {
                        nextPart.innerHTML = '<a href="'+element.textContent+'" target="_blank">Paralyzer Link</a>';
                    }
                }
            }
        }
    }
})();
번호 제목 글쓴이 조회 등록일
[공지] 질문과 답변 게시판 이용간 유의사항 gooddew - -
91855 소프트웨어| 인증툴 바이러스 검사 [8] 떠중이 892 12-15
91854 기 타| 2019형 k7 / 2022형 쏘렌토 대쉬보드? [1] 슈퍼소니코 364 12-15
91853 윈 도 우| legacy에서 UEFI부팅으로 전환하려면...? [9] tesoro 495 12-15
91852 서버 / IT| 네이버 블로그를 보면 전화번호를 알 수 있나요? [3] brucex 352 12-15
91851 윈 도 우| 우측 하단에 열쇠 아이콘이 생겼는데 삭제방법을 모르겠습... [2] 영동권탑 680 12-15
91850 기 타| WanDrv6_6.6.2016.0815 한글버전 구합니다 [8] 건둘지망 698 12-14
91849 소프트웨어| 궁금해서 여쭙니다. [9] gongja 926 12-14
91848 소프트웨어| windows10XPE MSEdge(96.0.1054.43) [1] 메아리 490 12-14
91847 윈 도 우| Win10 pro 64bit 바탕화면 아이콘과 파일 폴더 이름 [12] Win10pro 515 12-14
91846 윈 도 우| MS스토어에서 설치한 앱위치? [8] reg 479 12-14
91845 소프트웨어| 레인미터 질문 [2] rthgh 266 12-14
91844 기 타| 요런 위생모자 파는곳 [6] 홍낄똥 860 12-14
91843 윈 도 우| PE 인터넷 와이파이 이름 한글 연결문제 [1] 셜록스 260 12-13
» 소프트웨어| 아마존 사이트에 접속이 전혀 안됩니다. [1] 줄넘기 364 12-13
91841 기 타| ssd 최적화프로그램? [10] 꼬꼬댁 1186 12-13
91840 소프트웨어| 윈도우 7 크롬,엣지 한글 입력 커서 문제 [2] Airbrone13 383 12-13
91839 기 타| ssd사용시 색인? [2] 꼬꼬댁 356 12-13
91838 기 타| 알리에서 이런 경험자 있으세요? 저도 당했네요. ㅋ [22] 윈도면도 1226 12-13
91837 윈 도 우| KB5005565 프린터 출력문제 [5] First. 551 12-13
91836 하드웨어| 컴퓨터가 갑자기 켜졌다가 꺼쪘다가 무한 반복합니다.. --; [10] 슈퍼소니코 787 12-13
XE1.11.6 Layout1.4.8