There are probably several browsers now, and everyone has different preferences, so they use different browsers! We developers often have to make a judgment call, whether certain functions may not be available. Normal use. If there is no judgment, it will bring some trouble to everyone! Although everyone may have different preferences! The systems they use are also different! Some people like to use IE, Firefox, and others like to use Tencent TT, Maxthon, etc. Although there may be many names, if we know the core, it will be fine. Such as IE kernel: IE, maxthon, tt are all. Of course there is also the netscape kernel! Let’s see how you judge!
Due to this problem encountered during development. So I found some information and summarized the following JS code myself:
The code is as follows: