I use the document.oncontextmenu event to realise my own context menus. This should also be the case for <input> elements. To realise Copy & Paste I use navigator.clipboard and have not encountered any problems with Copy (writeText) so far. With read...