forked from mirrors/gecko-dev
MozReview-Commit-ID: HBpjT2uHJaZ --HG-- extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
18 lines
387 B
HTML
18 lines
387 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
</head>
|
|
<body>
|
|
<script>
|
|
function addPlugin(aId, aType = "application/x-test") {
|
|
var embed = document.createElement("embed");
|
|
embed.setAttribute("id", aId);
|
|
embed.style.width = "200px";
|
|
embed.style.height = "200px";
|
|
embed.setAttribute("type", aType);
|
|
return document.body.appendChild(embed);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|