opener'),
  funcBeforeNavigation: () => {
    // Create and focus on an <input> before navigation.
    // Focus/blur events on the <input> are recorded.
    const textInput = document.createElement('input');
    textInput.setAttribute('type', 'text');
    textInput.setAttribute('id', 'toBeFocused');
    textInput.onfocus = () => {
      recordEvent('input.focus');
    };
    textInput.onblur = () => {
      recordEvent('input.blur');
    };
    document.body.appendChild(textInput);
    textInput.focus();
  