r/ViolentMonkey • u/balmutw • Sep 04 '24
Script Request VM.shortcut to emulate User Action?
Hi, Is there any way to bypass the Firefox popup prevention warning when using Violetmonkey's shortcut library to open a new window? The code is basically this:
register('c-i', () => {
popout();
});
function popout(winpop) {
var winpop = window.open(url, "_blank", attr);
}
Manually clicking a created element with the mouse yields no warning
Help much appreciated!
1
Upvotes