Fix the NoScript (iframe not loaded) bug with inner iframes
This commit is contained in:
parent
82caa1aa8b
commit
f8455875a9
@ -47,7 +47,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="iframe-container">
|
<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>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -59,7 +59,10 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@ -51,7 +51,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="iframe-container">
|
<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>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user