mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
14 lines
268 B
HTML
14 lines
268 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function loaded() {
|
||
|
var node = document;
|
||
|
var handler = function(operation, key, data, src, dst) { alert(data); };
|
||
|
node.setUserData("foo", "data", handler);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="loaded();">
|
||
|
<div id="elem"></div>
|
||
|
</body>
|
||
|
</html>
|