Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Javascript - If and browser detect?

Hi people, I was wondering if you could help me with some javascript.

I am looking for the browser detect function and a basic layout of an if statment.

What Im looking for the code to do is

if the browser is firefox or oprea then

display an image

if not then end the if statment

Thanks guys

6 Answers

Relevance
Still have questions? Get your answers by asking now.