File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ <!DOCTYPE html>
3+ < head > < style type ="text/css "> html , body { height : 100% ; width : 100% ; } </ style >
4+ < script type ="text/javascript ">
5+ function start ( ) {
6+ var color = '' ;
7+ var fontFamily = '' ;
8+ try {
9+ computedStyle = window . getComputedStyle ( document . body ) ;
10+ color = computedStyle . color + '' ;
11+ fontFamily = computedStyle . fontFamily ;
12+ }
13+ catch ( ex ) {
14+ }
15+ document . getElementById ( 'myframe' ) . src = 'file:///var/folders/qm/vtx869x10dv0fylckmbhb9h00000gn/T/tmp-167516rSGWbitmfd.html?color=' + encodeURIComponent ( color ) + "&fontFamily=" + encodeURIComponent ( fontFamily ) ;
16+ }
17+ </ script >
18+ </ head >
19+ < body onload ="start() ">
20+ < iframe id ="myframe " frameborder ="0 " style ="border: 0px solid white;height:100%;width:100%; "
21+ src ="" seamless > </ iframe > </ body > </ html>
You can’t perform that action at this time.
0 commit comments