Fix the NoScript (iframe not loaded) bug with inner iframes

pull/1/head
yflory 8 years ago
parent 82caa1aa8b
commit f8455875a9

@ -47,7 +47,10 @@
</head>
<body>
<div id="iframe-container">
<iframe id="pad-iframe" src="inner.html"></iframe>
<iframe id="pad-iframe"></iframe>
<script>
document.getElementById('pad-iframe').setAttribute('src', 'inner.html?' + new Date().getTime());
</script>
</div>
</body>
</html>

@ -59,7 +59,10 @@
</style>
</head>
<body>
<iframe id="pad-iframe" src="inner.html"></iframe>
<iframe id="pad-iframe"></iframe>
<script>
document.getElementById('pad-iframe').setAttribute('src', 'inner.html?' + new Date().getTime());
</script>
</body>
</html>

@ -51,7 +51,10 @@
</head>
<body>
<div id="iframe-container">
<iframe id="pad-iframe" src="inner.html"></iframe>
<iframe id="pad-iframe"></iframe>
<script>
document.getElementById('pad-iframe').setAttribute('src', 'inner.html?' + new Date().getTime());
</script>
</div>
</body>
</html>

Loading…
Cancel
Save