질문과 답변
소프트웨어 아마존 사이트에 접속이 전혀 안됩니다.
2021.12.13 18:12
www.amazon.com 으로는 절대 접속이 안됩니다.
접속하면 아래와 같은 화면이 출력됩니다.
타 사이트에서 링크를 클릭하면 무조건 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>';
}
}
}
}
}
})();
댓글 [1]
-
토니™짱야♥ 2021.12.14 08:37
번호 | 제목 | 글쓴이 | 조회 | 등록일 |
---|---|---|---|---|
[공지] | 질문과 답변 게시판 이용간 유의사항 | gooddew | - | - |
99335 | 기 타| Edge 실행시 창이 여러개 [2] | ahha | 171 | 03-10 |
99334 | 소프트웨어| 사진에서 글자 없애는 프로그램 이름이 뭐에요? [2] | 소소생 | 566 | 03-09 |
99333 | 윈 도 우| 구글 로그인 시 2차인증 문제 [10] | 부산전문가 | 416 | 03-09 |
99332 | 기 타| 제 유튜브 메인 화면이 왜 이럴까요? [5] | 테츠로 | 490 | 03-09 |
99331 | 윈 도 우| 윈도우 설치 했는데? 아래 처럼 일부 드라이브가 안보이고 ... [2] | 맹물 | 402 | 03-09 |
99330 | 소프트웨어| Microsoft .NET Framework 간편하게 설치하는 방법 없을까... [4] | 어리버리힙 | 292 | 03-09 |
99329 | 소프트웨어| Windows XP TRIM [4] | 삼사일언 | 369 | 03-09 |
99328 | 윈 도 우| 나만의 복원 솔루션 만들기 -5부- (UEFI) winlib 백업시 ... [4] | 수리수리 | 407 | 03-09 |
99327 | 윈 도 우| 무월님 SetupComplete.cmd 파일에다가... [4] | 추추추 | 166 | 03-09 |
99326 | 기 타| 해당 에러 해결 하는 방법좀 알려주세요 [6] | 지룡자 | 229 | 03-09 |
99325 | 윈 도 우| 윈도우11 바탕화면 아이콘을 작업표시줄 추가 [4] | 부산전문가 | 218 | 03-09 |
99324 | 하드웨어| pc 팬설치 [1] | 복구시디 | 271 | 03-09 |
99323 | 소프트웨어| 크롬 탭 잠금 확장프로그램 | Anonymous | 278 | 03-08 |
99322 | 윈 도 우| 사용자가 작업을 취소 했습니다. [1] | 아부지뭐하 | 255 | 03-08 |
99321 | 윈 도 우| 디펜더 제외도구 [5] | 아이디비번 | 410 | 03-08 |
99320 | 기 타| 이제 블랙마켓은 없어졌나요? [1] | 아데방 | 385 | 03-08 |
99319 | 윈 도 우| 무월님 런처바를 실컴에서 사용하는 방법이?? [2] | 마로94 | 270 | 03-08 |
99318 | 윈 도 우| install.wim에서 winre,wim 업데이트 통합시 버전이 틀린것... [4] | 마로94 | 169 | 03-08 |
99317 | 윈 도 우| 윈도우 설치시 오피스 + 한글 자동설치 [3] | 마로94 | 724 | 03-08 |
99316 | 윈 도 우| 업데이트가 9%에서 다시시도하라면서... [3] | ccosmos | 224 | 03-08 |
접속 잘되는데요..
우회전 프로그램을 이용해서 다시 아마존 사이트 해보세요.