mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
25 lines
495 B
HTML
25 lines
495 B
HTML
<html>
|
|
<head>
|
|
<title>Open link in a new tab</title>
|
|
<script type="text/javascript">
|
|
function show() {
|
|
var re = new RegExp("[0-9]+$");
|
|
var id = re.exec(window.document.location);
|
|
|
|
document.title = id;
|
|
|
|
var node = document.createElement("span");
|
|
node.id = "id";
|
|
node.innerHTML = id;
|
|
|
|
var result = document.getElementById("result");
|
|
result.appendChild(node);
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="show();">
|
|
<p id="result">Loaded link with id=</p>
|
|
</body>
|
|
</html>
|