I would like to create and fire a KeyPress Event through a userscript in Greasemonkey but I observed that the createEvent's isTrusted
is set to false
all the time.
isTrusted
is read-only property but I read that it can be set to True by extensions like Greasemonkey but it's not working for me.
Is there a way to set isTrusted
to true
?.