### Website or app

-

### Repro steps

On both Firefox 103 and 104 the react devtools extension says: "This page doesn't appear to be using React".

On the most recent version of Chrome it's working just fine.

I cannot share the project since it's a private project unfortunately, but I suspect this is a regression introduced with the recent https://github.com/facebook/react/pull/26765

Especially since the devtools were working perfectly fine until maybe one or two weeks ago.

It _does_ work in incognito mode in Firefox.

### How often does this bug happen?

Every time

### DevTools package (automated)

_No response_

### DevTools version (automated)

_No response_

### Error message (automated)

_No response_

### Error call stack (automated)

_No response_

### Error component stack (automated)

_No response_

### GitHub query string (automated)

_No response_
if (IS_CHROME) {
    
    
    return chrome.devtools.panels.themeName === 'dark' ? 'dark' : 'light';
  } else {
    
    
    if (chrome.devtools && chrome.devtools.panels) {
      switch (chrome.devtools.panels.themeName) {
        case 'dark':
          return 'dark';
        default:
          return 'light';
      }
    }
  }
}
export const COMPACT_VERSION_NAME = 'compact';
export const EXTENSION_CONTAINED_VERSIONS = [COMPACT_VERSION_NAME];