Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Wrong detection of User Agent #19

Open
dumblob opened this issue Mar 21, 2016 · 4 comments
Open

Wrong detection of User Agent #19

dumblob opened this issue Mar 21, 2016 · 4 comments
Labels

Comments

@dumblob
Copy link

dumblob commented Mar 21, 2016

On the page https://hubl.in/ , I can't use hublin, because it incorrectly detects my User Agent (Your browser seems to not be compatible. Please upgrade your browser experience to a compatible browser:).

I'm using firefox 44.0.2 and e.g. https://appear.in/ does not complain about anything and it works like a charm (I'm using appear.in for more than a year already).

@chamerling
Copy link
Contributor

This is strange, just tested with FF 45 without problem.
We use modernizer.js to detect browser compatibility and FF has always been in the scope. On which platform are you using FF?

@chamerling chamerling added the bug label Mar 21, 2016
@dumblob
Copy link
Author

dumblob commented Mar 22, 2016

Well, it's strange. If I move ~/.mozilla/firefox away and start a clean Firefox 44 session, hubl.in seems to work. If I move my original configuration back to ~/.mozilla/, it doesn't. I've tried to disable all Firefox plugins I'm using (HTTS everywhere, Privacy Badger, uBlock origin, Pentadactyl, Bamboo Feed Reader, and Zoom Page), restarting Firefox afterwards and hubl.in still doesn't work.

It might be then an issue with my about:config settings (even though I'm not aware of any manual changes) or rather with JS (or modernizr.js) doing some weird stuff as this is the output from http://whatsmyuseragent.com/ :

Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
JavaScript Enabled:     Yes
Cookies Enabled:    Yes
Device Pixel Ratio:     1.7142857313156128DevicePixelRatio.com
Screen Resolution:  980 px x 613 pxWhatsMyScreenResolution.com
Browser Window:     961 px x 536 px
Local Time:     7:31 pm
Time Zone:  --1 hours

@wangjiezhe
Copy link

https://hubl.in seem good for me.
However, when I try to build it locaclly, and open in browser, It tells me that Your browser seems to not be compatible, just with the same browser...
I try both firefox 45 and chromium 49, and they perform the same way.

@firas-yangui
Copy link
Contributor

it seems like you have an error when you make npm install! i had this issue, try sudo bower install --allow-root

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants