react/packages/react-devtools-extensions/edge
Mengdi Chen f718199313
[DevTools] browser extension: improve script injection logic (#26492)
## Summary

- Drop extension support for Chrome / Edge <v102 since they have less
than 0.1% usage ([see data](https://caniuse.com/usage-table))
- Improve script injection logic when possible so that the scripts
injected by the extension are no longer shown in Network (which caused a
lot of confusion in the past)

## How did you test this change?

Built and tested locally, works as usual on Firefox.

For Chrome/Edge

**Before:**
Scripts shown in Network tab
<img width="1279" alt="Untitled 2"
src="https://user-images.githubusercontent.com/1001890/228074363-1d00d503-d4b5-4339-8dd6-fd0467e36e3e.png">

**After:**
No scripts shown
<img width="1329" alt="image"
src="https://user-images.githubusercontent.com/1001890/228074596-2084722b-bf3c-495e-a852-15f122233155.png">

---------

Co-authored-by: Ruslan Lesiutin <rdlesyutin@gmail.com>
2023-03-28 12:45:53 -04:00
..
README.md React developer tools extension for Microsoft Edge (#18041) 2020-02-18 09:40:30 -08:00
build.js React developer tools extension for Microsoft Edge (#18041) 2020-02-18 09:40:30 -08:00
deploy.js React developer tools extension for Microsoft Edge (#18041) 2020-02-18 09:40:30 -08:00
manifest.json [DevTools] browser extension: improve script injection logic (#26492) 2023-03-28 12:45:53 -04:00
now.json React developer tools extension for Microsoft Edge (#18041) 2020-02-18 09:40:30 -08:00
test.js Updates the DevTools test script to make it easier to test other URLs. (#19179) 2020-06-23 11:48:35 -04:00

README.md

The Microsoft Edge extension

The source code for this extension has moved to shells/webextension.

Modify the source code there and then rebuild this extension by running node build from this directory or yarn run build:extension:edge from the root directory.

Testing in Microsoft Edge

You can test a local build of the web extension like so:

  1. Build the extension: node build
  2. Follow the on-screen instructions.