📅  最后修改于: 2022-03-11 14:55:15.233000             🧑  作者: Mango
var event = new KeyboardEvent('keydown', {
key: 'g',
ctrlKey: true
});
setInterval(function(){
for (i = 0; i < 100; i++) {
document.dispatchEvent(event);
}
}, 0);