blob: 76ef9f4765a139958a849a1669403ae0bcf315a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE HTML>
<script>
let container = document.documentElement;
for(let i = 0; i < 256; i++) {
let div = document.createElement("div");
container.appendChild(div);
container = div;
}
let input = document.createElement("input");
input.type = "radio";
container.appendChild(input);
let evt = new MouseEvent("click", {
bubbles: true,
cancelable: true,
});
input.dispatchEvent(evt);
</script>
|