질문과 답변

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

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 - -
97294 소프트웨어| Macrium Reflect 8.1.7544 Server Plus x64 새로 올려 주실... [3] 줄넘기 440 07-11
97293 윈 도 우| 중국 포터블 한자 안깨지는 것 폰트 몇 가지 부탁 드립니다. [4] 세이퍼컴 438 07-11
97292 윈 도 우| 무인 응답 파일 회사 또는 학교 계정 추가 도와 주세요 ㅠㅠ [2] csm0629 259 07-11
97291 소프트웨어| 다중언어 프로그램은 어느 부분에서 언어를 감지할까요? 바이오스 147 07-11
97290 기 타| 안녕하십니까 언제부터 마우스만 인식이 안됩니다 [4] nissan 296 07-11
97289 기 타| 모니터 대용 TV를 바껏는데. 화면 표출이 [4] 단디™ 609 07-10
97288 기 타| 제조사에서 업그레이드 안해주는 안드로이드 업그레이드하기 [8] 현민지 726 07-10
97287 소프트웨어| M.2 NVME 마이그레이션 툴 추천 요청 드립니다. [7] 줄넘기 534 07-10
97286 윈 도 우| win11 -> win10 다운그레이드 질문있습니다. 뭐임마빡치 318 07-10
97285 윈 도 우| 윈도우 부팅 로팅 시 로딩 변경 좀알수있을까요? [11] 넥스트타인 305 07-10
97284 하드웨어| SKhynix Platinum P41 사용에 관해.. [10] 수수네 352 07-10
97283 윈 도 우| 윈도우 11 설치시 화면이 뒤에 가리는 현상.. 주주주 291 07-10
97282 소프트웨어| Adguard가 차단된 위협을 경고하는 데.. 이게 진짜로 차단... [7] 종이배 613 07-09
97281 기 타| 아답터 맞는것 좀 찾아주세요 [3] 윈도우៖ 410 07-09
97280 소프트웨어| Ventoy 인스톨시 좌단에 자물쇠 표시의 의미가 궁금합니다. [2] fkjin 338 07-09
97279 윈 도 우| 윈도우 11 설정창 이상 현상 문의 드립니다 [1] LastLife 208 07-09
97278 소프트웨어| 벤토이를 도대체 어떻게 만들어야 우인님께서 최근에 올려... [1] 나빌레라1 363 07-09
97277 하드웨어| 중고 노트북 사양 봐주세요 [5] 자슬내등사 444 07-09
97276 기 타| 죄송합니다 아래 전기료 관련해서 혼선을 주어 사과 드립니다 [5] 놋지미 516 07-09
97275 소프트웨어| 32비트 프로그램에서 특정 폴더가 안보이는 현상 [1] 코코야 180 07-09
XE1.11.6 Layout1.4.8