Nonaktifkan Find in Page Chrome melalui JavaScript

useEffect(() => {
    window.addEventListener('keydown', e => {
      if ((e.ctrlKey || e.metaKey) && e.code === 'KeyF') {
        e.preventDefault();
      }
    });
  }, [window]);
Helpless Hamerkop