HTML 문서 안에 배치 된 iframe이 볼드 위에 있는지 여부를 확인하는 데 문제가 있습니다.JS : 표시 여부에 관계없이 다른 도메인의 iframe 내에서 검색
내 웹 페이지 : https://oneserver.com/index.html
<html>
<head>
</head>
<body>
<iframe src="https://otherserver.com/index.html></iframe>
</body>
</html>
다른 웹 페이지 (안 부모은 iframe을 볼 때 무언가를해야한다는 :
내가 페이지 가시성 API 및 JQuery와 트릭 시도<html>
<head></head
<body>
<script>
if(document.isVisible()){document.style.background="red"}
</script>
</body>
</html>
, 지금까지 아무런 해결책도 찾지 못했습니다. 제발 저를 도와주세요.
많이 감사드립니다!
는
예 죄송 @ monly00, 내가 그것을 해결! – Nico