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.

How should I detect incompatible browsers?

See original GitHub issue

I’ve created a large single page app using vue.js. Now I would like to detect browsers which are incompatible with vue.js and display a helpful error message to the user. I could grab one of many existing browser detection tools and make good guesses about which browsers should work but I would rather use feature detection as that is the recommend way to go.

Do you have any recommendations on how to detect which browsers should be able to run vue.js? Would it be sufficient to just check for Object.prototype.__defineSetter__?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

10reactions
pixelbaconcommented, Dec 13, 2017

Personally, after much testing, for Vue the minimum you need is the following:

var compatibleBrowser = typeof Object['__defineSetter__'] === 'function';
1reaction
jimbatamangcommented, Jan 16, 2018

@pixelbacon this will return ‘false’ for ie10 where vue is working fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to check Chrome Browser for incompatible applications
Here is how to check for them: You should type chrome://settings/IncompatibleApplications into your address bar and press Enter.
Read more >
Cross Browser Compatibility Testing beyond Chrome
Instant access to 3000+ real browsers and devices to run a cross browser compatibility test for your website. No setup is required.
Read more >
9 Tips To Avoid Cross-Browser Compatibility Issues from the ...
You can use a cross-browser compatibility testing tool like Testsigma to check if your website/browser compatible with all browsers.
Read more >
Why am I getting an Unsupported Browser error?
On your computer, open Chrome. · At the top right, click More > Settings. · At the bottom, click Advanced. · Under "Privacy...
Read more >
Introduction to cross-browser testing - Learn web development
Cross-browser testing is the practice of ensuring that a website works across various browsers and devices. Web developers should consider:.
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