diff --git a/packages/opentelemetry-browser-extension-autoinjection/README.md b/packages/opentelemetry-browser-extension-autoinjection/README.md index 6386d9853f..eb4ab7627e 100644 --- a/packages/opentelemetry-browser-extension-autoinjection/README.md +++ b/packages/opentelemetry-browser-extension-autoinjection/README.md @@ -24,13 +24,13 @@ This browser extension allows you to inject [OpenTelemetry](https://opentelemetr Run the following in your shell to download and build the extension from source: ```shell -git clone https://github.com/svrnm/opentelemetry-browser-extension -cd opentelemetry-browser-extension +git clone https://github.com/open-telemetry/opentelemetry-js-contrib.git +cd opentelemetry-js-contrib/packages/opentelemetry-browser-extension-autoinjection npm install -npm run compile +npm run build ``` -This will create a so called unpacked extension into the `build/` folder you now can load into your browser: +This will create a so-called unpacked extension into the `build/` folder you now can load into your browser: * Open a new browser window and go to chrome://extensions * Turn on "Developer Mode" @@ -58,4 +58,4 @@ Click on `Save & Reload`, check the developer toolbar to see how spans being are 3. Firefox support is unstable, sometimes it works, sometimes not. If you have experience building extensions for firefox, please reach out. -4. The website you are targeting with this extension might have a [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) (CSP) in place and block the extension from injecting javascript or block the exporters from sending spans to a collector. To work around this limitation, you need another browser extension, that allows you to disable CSP for a website. \ No newline at end of file +4. The website you are targeting with this extension might have a [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) (CSP) in place and block the extension from injecting javascript or block the exporters from sending spans to a collector. To work around this limitation, you need another browser extension, that allows you to disable CSP for a website.