Stephen Brooks 2014-09-07 01:34:03 | There seem to be a lot of Mozillas watching the board that I'm pretty sure aren't Mozilla. If you're incorrectly being detected as Mozilla, please post your user agent info and browser in this thread. |
Zerberus 2014-09-08 10:14:57 | Could be mobile browsers that are detected as Mozilla because of being Mozilla-compatible. |
Zerberus 2015-05-13 01:59:33 | Please note all Pale Moon users with compatibility mode off do appear as Mozilla: With compatibility: User agent string: Mozilla/5.0 (Windows NT 6.1; rv:25.4) Gecko/20150509 Firefox/31.9 PaleMoon/25.4.1 Homogenised form: mozilla50(windowsnt61;rv:254)gecko20150509firefox319palemoon2541 Detected as: FireFox 3n ________________________________________________________________ Without compatibility: User agent string: Mozilla/5.0 (Windows NT 6.1; rv:25.4) Gecko/20150509 PaleMoon/25.4.1 Homogenised form: mozilla50(windowsnt61;rv:254)gecko20150509palemoon2541 Detected as: Mozilla |
Zerberus 2015-05-16 07:43:50 | For completeness, I'll post other browsers here as I encounter them. Since Mozilla seems to enjoy alienating a large percent of their user base, we can expect a 'rise of the forks' in the future. Today, Cyberfox: ______________ User agent string: Mozilla/5.0 (Windows NT 6.0; rv:38.0) Gecko/20100101 Firefox/38.0 Cyberfox/38.0.1 Homogenised form: mozilla50(windowsnt60;rv:380)gecko20100101firefox380cyberfox3801 Detected as: FireFox 3n |
Stephen Brooks 2015-05-17 21:37:21 | I think I've added those. Do they work? |
Zerberus 2015-05-18 04:58:14 | PaleMoon works now. However, PaleMoon with Compatibility on and Cyberfox are still detected as Firefox 3n. At least for our little game here, shouldn't they still be detected as what they are, not what they seem to be? Working: User agent string: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.4) Gecko/20150509 PaleMoon/25.4.1 Homogenised form: mozilla50(windowsnt61;win64;x64;rv:254)gecko20150509palemoon2541 Detected as: Pale Moon ___ Not working: User agent string: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.4) Gecko/20150509 Firefox/31.9 PaleMoon/25.4.1 Homogenised form: mozilla50(windowsnt61;win64;x64;rv:254)gecko20150509firefox319palemoon2541 Detected as: FireFox 3n ___ Not working: User agent string: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:38.0) Gecko/20100101 Firefox/38.0 Cyberfox/38.0.1 Homogenised form: mozilla50(windowsnt61;win64;x64;rv:380)gecko20100101firefox380cyberfox3801 Detected as: FireFox 3n |
Zerberus 2015-05-18 05:03:56 | Last but not least, there's Waterfox. Nothing to detect here, as the UA string is the same as its Firefox sibling. |
Stephen Brooks 2015-05-18 06:04:34 | Probably it's detecting the "firefox" substring before the more specific one. I had to do this with "mozilla" because it seems everyone sticks "Mozilla/5.0" on the front of the string for some horrible compatibility reason. So somehow I could give "firefox" lower priority too, I'll think about it. [edit] OK, I've fixed it, in the sense that I've made a change to the algorithm that may not fix it and might break other things. |
Zerberus 2015-05-20 03:47:23 | User agent string: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:38.0) Gecko/20100101 Firefox/38.0 Cyberfox/38.0.1 Homogenised form: mozilla50(windowsnt61;win64;x64;rv:380)gecko20100101firefox380cyberfox3801 Detected as: Cyberfox ___ User agent string: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.4) Gecko/20150509 Firefox/31.9 PaleMoon/25.4.1 Homogenised form: mozilla50(windowsnt61;win64;x64;rv:254)gecko20150509firefox319palemoon2541 Detected as: Pale Moon So they work now. Will keep the eyes open for other browsers. I temporarily got "500 Internal Server Error", hopefully that's got nothing to do with it? |
Stephen Brooks 2015-05-21 17:19:23 | Sounds good. I don't know what the 500 error was, probably my webhost having a glitch. The problem I fixed was: these detection substrings work best with a "priority order", detecting the most specific first and the most general (Firefox, then Mozilla) last. I thought I'd encoded this order in the ordering of a big array in my script, but for some reason I had made a copy and re-sorted that array to display scores, and I was using the priority order (mostly alphabetical) from *that*. I may have had my reasons at the time but for now we're going with this. |
Zerberus 2015-05-28 21:21:06 | Maybe a good site listing UA strings: http://useragentstring.com/pages/useragentstring.php [Edited by Zerberus at 2015-05-28 21:27:16] |
Zerberus 2015-05-28 21:24:56 | Using HTML and links seems to screw up this forum... [Edited by Zerberus at 2015-05-28 21:26:06] |
Zerberus 2015-06-15 22:16:37 | Some news regarding Waterfox. Since 38.1.0, my previous statement doesn't hold anymore. User agent string: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:38.0) Gecko/20100101 Firefox/38.1.0 Waterfox/38.1.0 Homogenised form: mozilla50(windowsnt61;win64;x64;rv:380)gecko20100101firefox3810waterfox3810 Detected as: FireFox 3n So it identifies itself as Waterfox/38.1.0 now. |
Stephen Brooks 2015-06-20 02:50:57 | Waterfox is probably the worst sounding of the other three elements they could have chosen. I'd prefer Airfox or even Earthfox... I have added an icon for it, however. Does it work? |
Zerberus 2015-06-26 07:10:26 | Yep, it does. User agent string: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:38.0) Gecko/20100101 Firefox/38.1.0 Waterfox/38.1.0 Homogenised form: mozilla50(windowsnt61;win64;x64;rv:380)gecko20100101firefox3810waterfox3810 Detected as: Waterfox |