Does this SDK works with browser extension ?
See original GitHub issueHi there 👋🏻
In advance, thanks for your work 👏🏻
I’m actually trying to add your sdk inside a browser extension (in a content_script) but i stuck on 'logs.logger.info' not yet available, please call '.init()' first.
- Is it supposed to work with browser extension ? if yes, is there is something special to do ?
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Building a cross-browser extension - Mozilla - MDN Web Docs
The introduction of the browser extensions API created a uniform landscape for the development of browser extensions.
Read more >API reference - Chrome Developers
The complete reference to all APIs made available to Chrome Extensions. This includes APIs for the deprecated Chrome Apps platform as well as...
Read more >Browser Extensions Integration for Web - Braze
Integrate Braze's Web SDK within your browser extension to collect analytics and display rich messaging to users. This includes both Google Chrome ......
Read more >Comparison with the Add-on SDK | Firefox Extension Workshop
One big limitation of WebExtensions compared with the SDK is that SDK add-ons can use require("chrome") to get access to the full range...
Read more >Cross-Browser Extensions with the WebExtensions API
The WebExtensions API standard is accessible to all Web Developers: - Identical extension code that works on Chrome, Firefox, and Edge ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The bug is related to the “datacenter” attribute chosen in the init section https://github.com/bt0r/NoteFlix/blob/draft/datadog-logs/src/index.js#L11, i chose “eu” and now with “us” it’s working fine, i close this issue.
Thanks you for you quick answers and help !
If it does not bother you, it would be great