question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does this SDK works with browser extension ?

See original GitHub issue

Hi 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:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
bt0rcommented, Aug 26, 2020

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 !

1reaction
bcaudancommented, Aug 24, 2020

If it does not bother you, it would be great

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found