mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
24 lines
575 B
HTML
24 lines
575 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head><meta charset="utf-8"></head>
|
|
<body onload="scriptPlugin()">
|
|
<div id="container" style="width: 0px; height: 0px;">
|
|
<embed id="test" style="width: inherit; height: inherit;" type="application/x-test"/>
|
|
</div>
|
|
<script>
|
|
function scriptPlugin() {
|
|
try {
|
|
document.getElementById("test").getObjectValue();
|
|
}
|
|
catch (e) {}
|
|
|
|
setTimeout(function() {
|
|
var container = document.getElementById("container");
|
|
container.style.width = "200px";
|
|
container.style.height = "200px";
|
|
}, 10);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|