질문과 답변

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

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 - -
97609 기 타| 1990년대 육군 운전병으로 복무하신 분들께 여쭈어봅니다. [8] RECALL 482 08-22
97608 윈 도 우| 윈도우11 작업표시줄 끌어놓기 기능 활성화하는방법있을까요? [3] 렛고 224 08-22
97607 윈 도 우| 바탕화면에서 문서 아이콘이 작아졌어요!! 헬프미 [2] 토니™짱야 537 08-22
97606 윈 도 우| 부모윈도우를 포맷하면 되나요? [6] brucex 404 08-21
97605 윈 도 우| 표시 상태줄에 copilot Chat 없어졌어요!!! [1] 토니™짱야 168 08-21
97604 윈 도 우| 부팅할때 마다 바탕화면에 아이콘들이 정렬되지 않고 ~~ [3] 토니™짱야 336 08-21
97603 소프트웨어| 프로그램? 기능? 을 찾습니다. [3] 마집사 368 08-21
97602 윈 도 우| 배치파일을 관리자권한으로실행 [2] First. 409 08-21
97601 모 바 일| 폰에서는 GIF 파일이 있으나 보이질 않습니다 [2] joe 259 08-21
97600 윈 도 우| VHD 재 질문 및 요청 드립니다 [10] 이어도 309 08-20
97599 소프트웨어| 안드로이드 앱 컴퓨터에서 실행은 윈도우៖ 229 08-20
97598 서버 / IT| 네트워크의 하드웨어 컨트롤러 역할이 궁금합니다 [4] ksire 219 08-20
97597 윈 도 우| 이미지 등을 저장시 파일 확장자가 자동으로 지정되네요. [2] 익명7861 241 08-20
97596 윈 도 우| WinPE내의 Tools 폴더를 Y로 빼내면 pecmd.ini에 어떤 명령... [4] fkjin 314 08-20
97595 윈 도 우| syncfolder라는게 있는데, uninstall 은 어떻게 하나요? brucex 97 08-20
97594 윈 도 우| 레인미터 바탕화면에서 드라이브 지정 탐색기 [2] 미르서기1 174 08-20
97593 소프트웨어| AOMEI Backupper 7.3.1 한글패치 [7] 불터스 726 08-19
97592 윈 도 우| 윈도우 PE 오류 문의 [4] Special_Us 422 08-19
97591 기 타| 일반 프린터기로 스티커(라벨) 인쇄 가능할까요? [4] Fivernova 789 08-18
97590 소프트웨어| wondershare uniconverter에 대해 [1] 라이나생명 133 08-18
XE1.11.6 Layout1.4.8