I'm blocking context menu, then I want to restore it to previous state.
myElement = document.querySelector('*');
myElement.addEventListener('contextmenu', MyContextMenu);
it is possible to restore default context menu after the above code have been executed ? if the answer is yes then how or how to make it correctly?
what i want is to block context menu and then restore it after a while.