Skip to content

Commit fde5498

Browse files
committed
updated
1 parent 7b06521 commit fde5498

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

results.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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>

0 commit comments

Comments
 (0)