Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <body> |
michael@0 | 3 | <iframe></iframe> |
michael@0 | 4 | <script> |
michael@0 | 5 | var win = window.frames[0]; |
michael@0 | 6 | win.document.open(); |
michael@0 | 7 | win.document.write("<!DOCTYPE html><html><head></head><body></body></html>"); |
michael@0 | 8 | win.document.close(); |
michael@0 | 9 | win.document.body.innerHTML = "<link rel='stylesheet' type='text/css' href='outer-sheet.css' />"; |
michael@0 | 10 | win.document.body.innerHTML += "<p style='padding:2px'>test</p>"; |
michael@0 | 11 | </script> |
michael@0 | 12 | </body> |
michael@0 | 13 |