mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
16 lines
503 B
HTML
16 lines
503 B
HTML
<!DOCTYPE HTML>
|
|
<html dir="ltr" xml:lang="en-US" lang="en-US"><head>
|
|
<title>Console test replaced API</title>
|
|
<script type="text/javascript">
|
|
function replaceAPI() {
|
|
var console = {log: function (msg){}, info: function (msg){}, warn: function (msg){}, error: function (msg){}};
|
|
window.console = console;
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1 id="header">Web Console Replace API Test</h1>
|
|
<button onclick="replaceAPI();">ReplaceAPI</button>
|
|
</body>
|
|
</html>
|