patrickkunka / mixitup

A high-performance, dependency-free library for animated filtering, sorting, insertion, removal and more
https://www.kunkalabs.com/mixitup/
4.52k stars 735 forks source link

user agent detection fails if Random Agent Spoofer is active #243

Closed c33s closed 7 years ago

c33s commented 8 years ago

having RAS active, breaks the mixitup user agent detection. Random Agent Spoofer is a firefox extension for randomize the useragent.

TypeError: window.navigator.userAgent.match(...) is null
a.MixItUp.prototype._platformDetect()
 dep.min.js:1
a.MixItUp.prototype._init()
 dep.min.js:1
a.fn.mixItUp/f()
 dep.min.js:2
a.fn.mixItUp/c<()
 dep.min.js:2
.each()
 jquery.min.js:2
n.prototype.each()
 jquery.min.js:2
a.fn.

also opend an issue there: https://github.com/dillbyrne/random-agent-spoofer/issues/395

patrickkunka commented 8 years ago

Thanks for the heads up. Our upcoming v3 release no longer uses user agent sniffing so hopefully this will soon no longer be an issue.

patrickkunka commented 7 years ago

https://github.com/patrickkunka/mixitup/releases/tag/v3.0.0