網址查看瀏覽器內核版本


查看瀏覽器內核版本

/*! browsecore v0.1 | (c) 2017 osfipin*/
(function (w) {
	"use strict";
	var n = w.navigator,d = w.document;
	var r = [];
	r.isIE = ("number" == typeof d.documentMode)?d.documentMode:false;//Trident
	r.isWebkit = ("undefined" != typeof n.productSub && "20030107" == n.productSub);
	r.isGecko = ("object" == typeof w.netscape);	
	r.isChrome = ("object" == typeof w.chrome || (r.isWebkit && "string" == typeof n.vendor && /Google/.test(n.vendor)));	
	r.isUC = ("object" == typeof w.ucapi);
	r.isFirefox = ("object" == typeof w.InstallTrigger);
	r.isEdge = (!r.isIE && !!w.StyleMedia);
	r.isOpera = (!!w.opr && !!opr.addons) || !!w.opera || n.userAgent.indexOf(' OPR/') >= 0;
	r.isSafari = Object.prototype.toString.call(w.HTMLElement).indexOf('Constructor') > 0 || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!w['safari'] || safari.pushNotification);
	if(!r.isSafari && !r.isChrome && "string" == typeof n.vendor && /Apple/.test(n.vendor)){
		r.isSafari = true;
	}
	r.isBlink = (r.isChrome || r.isOpera) && !!w.CSS;
	w.browsecore = r;
})("undefined"!=typeof window?window:this);

查看自己瀏覽器的版本網站:我的瀏覽器。支持手機端。

我的瀏覽器網址:http://mybrowse.osfipin.com/

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM