message: Fix `fix-view-file-link-in-pr` in PR from default branch
  Fixes
diff: @@ -22,8 +22,10 @@ function handleMenuOpening(event: DelegateEvent): void {
  }
  // Looks like `https://github.com/kidonng/refined-github/tree/fix-console-error`
  - const branchPathnameParts = select<HTMLAnchorElement>('.head-ref a')!.pathname.split('/');
  + const headReferenceLink = select<HTMLAnchorElement>('.head-ref a')!;
  + const branchPathnameParts = headReferenceLink.pathname.split('/');
  branchPathnameParts[3] = 'blob'; // This replaces `tree`
  + branchPathnameParts[4] = headReferenceLink.title.replace(/^[^:]+:/, ''); // Ensures that the branch name is attached even when it links to the default branch
  // Looks like `https://github.com/sindresorhus/refined-github/blob/cddac8d7e158c336552aa694a4698d4764754b64/source/features/embed-gist-via-iframe.tsx`
  const viewFile = select<HTMLAnchorElement>('[data-ga-click^="View file"]', dropdown)!;
  