<!-- | |
@WIN-DENY:EVENT_OBJECT_STATECHANGE*role=ROLE_SYSTEM_LIST* | |
@WIN-DENY:EVENT_OBJECT_REORDER* | |
@UIA-WIN-DENY:StructureChanged/ChildrenReordered* | |
--> | |
<!DOCTYPE html> | |
<html> | |
<body> | |
<select> | |
<option selected>Apple</option> | |
<option>Orange</option> | |
<option>Banana</option> | |
</select> | |
<script> | |
function go() { | |
var select = document.querySelector('select'); | |
var event = document.createEvent('MouseEvents'); | |
event.initMouseEvent('mousedown', true, true, window); | |
select.dispatchEvent(event); | |
} | |
</script> | |
</body> | |
</html> |