export default function applyPatches ( ) { /**
     * Disable the print prompt
     */ window . addEventListener ( "keydown" , ( event ) => { if ( ( event . ctrlKey || event . metaKey ) && event . key === "p" ) { event . preventDefault ( ) ; } } , true ) ; /**
     * Disable the browser's context menu
     */ window . addEventListener ( "contextmenu" , ( event ) => { event . preventDefault ( ) ; } , true ) ; }