- 제출된 URL:
- https://cdn.btmessage.com/assets/bt-rlink-storage-DJolxq7O.html
- 보고서 완료:
링크 · 0개 결과
페이지에서 식별된 외부 링크
JavaScript 변수 · 3개 결과
페이지의 창 개체에 로드된 전역 JavaScript 변수는 함수 외부에서 선언된 변수로, 현재 범위 내에서 코드의 어느 부분에서나 액세스할 수 있습니다
이름 | 유형 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
콘솔 로그 메시지 · 1개 결과
웹 콘솔에 기록된 메시지
유형 | 카테고리 | 로그 |
---|---|---|
error | network |
|
HTML
페이지의 원시 HTML 본문
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RL Storage</title>
<script>
window.addEventListener("message", function (event) {
try {
const expectedOrigin =
document.referrer != ""
? new URL(document.referrer).origin
: window.location.ancestorOrigins[0];
const { trustedRLEvent, action, key, value } = event.data;
if (event.origin === expectedOrigin && trustedRLEvent) {
switch (action) {
case "set-session-data":
sessionStorage.setItem(key, value);
return event.source.postMessage(
{ status: "success" },
event.origin,
);
case "get-session-data":
const storedValue = sessionStorage.getItem(key);
return event.source.postMessage(
{ status: "success", value: storedValue },
event.origin,
);
case "remove-session-data":
sessionStorage.removeItem(key);
return event.source.postMessage(
{ status: "success" },
event.origin,
);
default:
return event.source.postMessage(
{ status: "error" },
event.origin,
);
}
}
} catch (e) {
console.log({ e });
}
});
</script>
</head>
<body>
</body></html>