o1-mini-2024-09-12· OpenAI
WildChat-4.8M (AI2)
<p> </p> <style> html, body { margin: 0; padding: 0; height: 100%; overflow:…
- Usercode
.iframe-container { position: fixed; top: -20px; /* پنهان کردن ۲ سانتیمتر از بالای صفحه */ left: 0; width: 100%; height: calc(100vh + 20px); /* استفاده از ارتفاع 100vh */ overflow: hidden; } .iframe-container iframe { width: 100%; height: 100%; border: none; } </style>code// اجرای تابع بعد از لود شدن کامل iframe document.getElementById('myIframe').onload = function() { // تلاش برای حذف محدودیتها const iframe = document.getElementById('myIframe').contentWindow; try { iframe.eval( if (window.self !== window.top) { window.top = window.self; } ); } catch (error) { console.log('محدودیتهای امنیتی مانع از اجرای کد شدند.'); } }; </script> - Assistant