Re: Solved! Re: OpenBSD firefox useragent Facebook
On 2015-02-20, Erling Westenvik wrote: It's all about the user agent string. When changing from the default: Mozilla/5.0 (X11; OpenBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 to: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.1) Gecko/20090702 Firefox/3.5 things started to work as expected. Not that the working string is ideal; it just happened to be one I tried and which worked. I'll try to figure out which part(s) of it that matches Facebook's somewhat flaky user agent string detection algorithm. Erling, have you considered the Blender add-on for Firefox? Mozilla: https://addons.mozilla.org/en-US/firefox/addon/blender-1/ Github: https://github.com/meh/blender From the README: This addon sets various preferences to fake to be the most common. It fakes: * the operating system to be Windows 7 64-bit * Firefox to be version 35 * the language to be English * the accepted charsets to be unspecified I do believe you can override the language spoofing. No noticable problems here on my *BSD and Linux boxes. -Brendan
Solved! Re: OpenBSD firefox useragent Facebook
On Thu, Feb 19, 2015 at 09:44:35PM -0500, Nick Holland wrote: On 02/18/15 09:32, Erling Westenvik wrote: The last few months, I've been unable to tag other people when commenting on Facebook. I've tried resetting Firefox, disabling add-ons, deleting old profiles, reinstalling the browser, and even doing a fresh install of Firefox on a new OpenBSD installation. All to now avail. I suspect the user agent setting to be the culprit and have tried experimenting with various strings. Some of them enables me to tag other people, but messes up other things. Would anyone using Facebook be so kind as to provide me with a working user agent string for Firefox (35.0) ? I've noticed this as well lately. It's obviously a change on FB's side, not on OpenBSD's side (since you have gone back to old versions to verify the problem still happens on versions I know it didn't). Curiously, I think I have noticed it impacting my (completely stock) android phone, too, though that may just mean it is over due for a reboot. It's all about the user agent string. When changing from the default: Mozilla/5.0 (X11; OpenBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 to: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.1) Gecko/20090702 Firefox/3.5 things started to work as expected. Not that the working string is ideal; it just happened to be one I tried and which worked. I'll try to figure out which part(s) of it that matches Facebook's somewhat flaky user agent string detection algorithm. I'm not losing any sleep over it, however. I seem to have low expectations for people coding not-stupidly. Thanks for help/patience/sarcasm, everyone, and sorry for the noise. Erling
Re: OpenBSD firefox useragent Facebook
Nick Holland said: I'm not losing any sleep over it, however. I seem to have low expectations for people coding not-stupidly. It is actually normal these days for web developers to support only a handful of most used configurations. It is funny that they still argue that HTML5 is *the* cross-platform API for application development. -- Dmitrij D. Czarkoff
Re: OpenBSD firefox useragent Facebook
On 2015-02-19, Erling Westenvik erling.westen...@gmail.com wrote: Since yesterday I've tried installing -current, then 5.6 and finally 5.5, on another workstation. I've also tried different network connections and disabling PF. And I've tried Chrome, Seamonkey and xombrero. Tagging in Facebook comments simply doesn't work in any browser on any OpenBSD computer I have, but works fine on any Windows computer. Have you reported this to facebook? There's a link on https://www.facebook.com/help/191905394245544, I'm sure they would like to fix things so you can continue to contribute to their face recognition database ;)
Re: OpenBSD firefox useragent Facebook
Hi, 19.2.2015, 19:53, Erling Westenvik kirjoitti: On Wed, Feb 18, 2015 at 02:52:28PM -0500, trondd wrote: And what do you think your user agent is when you connect through those other gateways? ipchicken.com should tell you. I'm aware what my user agent is. However, I started to wonder whether my user agent string might confuse Facebook. Have you tried to change the user agent? For example with User Agent Switcher extension: https://addons.mozilla.org/en/firefox/addon/user-agent-switcher/ And a year ago one person had MTU problem with Facebook: http://marc.info/?l=openbsd-miscm=138058804118691w=2 Yours, Tero
Re: OpenBSD firefox useragent Facebook
On Wed, Feb 18, 2015 at 02:52:28PM -0500, trondd wrote: And what do you think your user agent is when you connect through those other gateways? ipchicken.com should tell you. I'm aware what my user agent is. However, I started to wonder whether my user agent string might confuse Facebook. Some time before Christmas I updated -current on my laptop. From that moment on I could no longer tag people in comments. The main reason I suspected this had to caused by some bug in OpenBSD, was that tagging kept on working on my main workstation also running -current. Being somewhat dependent on being able to tag people on Facebook, I waited as long as I could before updating -current on my workstation. Finally I had to do an update and from that moment on, tagging no longer worked. (In the meanwhile, I also had to replace the harddrive on my laptop and did a fresh install of -current. Still no success.) Since yesterday I've tried installing -current, then 5.6 and finally 5.5, on another workstation. I've also tried different network connections and disabling PF. And I've tried Chrome, Seamonkey and xombrero. Tagging in Facebook comments simply doesn't work in any browser on any OpenBSD computer I have, but works fine on any Windows computer. I know this is silly, and I feel stupid, but this is important to me and I welcome ANY advice. (Not using Facebook is not such an advice. My daily work is related to and dependent on Facebook. And no – I'm not getting paid to post pictures of kittens. ; ) This might have to do with which Facebook CDN node you might be hitting and DNS caching. Sounds plausible except for the fact that everything works fine from Windows computers within the same environment. Erling
Re: OpenBSD firefox useragent Facebook
On Thu, Feb 19, 2015 at 08:45:06PM +, Stuart Henderson wrote: On 2015-02-19, Erling Westenvik erling.westen...@gmail.com wrote: Since yesterday I've tried installing -current, then 5.6 and finally 5.5, on another workstation. I've also tried different network connections and disabling PF. And I've tried Chrome, Seamonkey and xombrero. Tagging in Facebook comments simply doesn't work in any browser on any OpenBSD computer I have, but works fine on any Windows computer. Have you reported this to facebook? There's a link on https://www.facebook.com/help/191905394245544, I'm sure they would like to fix things so you can continue to contribute to their face recognition database ;) Thanks, but the link is not relevant. Tagging people in photos works just fine. So does tagging (mentioning) peoples names in posts. It's just tagging (mentioning) peoples names in comments that ain't working (anymore). I'll try to dig into some html and javascript before sending a report. A problem that seems to exist only when visiting Facebook from a rather obscure operating system, probably won't get much attention. ;) Erling
Re: OpenBSD firefox useragent Facebook
On 02/18/15 09:32, Erling Westenvik wrote: Not sure if this belongs in @misc or @ports - if any! - but I'll give the former a shot. All below applies to amd64/current-installations of mine. The last few months, I've been unable to tag other people when commenting on Facebook. I've tried resetting Firefox, disabling add-ons, deleting old profiles, reinstalling the browser, and even doing a fresh install of Firefox on a new OpenBSD installation. All to now avail. I suspect the user agent setting to be the culprit and have tried experimenting with various strings. Some of them enables me to tag other people, but messes up other things. Would anyone using Facebook be so kind as to provide me with a working user agent string for Firefox (35.0) ? Thanks, Erling PS. Just checked and neither Seamonkey nor Chrome will let me tag people in comments. This is getting weird... I've noticed this as well lately. It's obviously a change on FB's side, not on OpenBSD's side (since you have gone back to old versions to verify the problem still happens on versions I know it didn't). Curiously, I think I have noticed it impacting my (completely stock) android phone, too, though that may just mean it is over due for a reboot. I'm not losing any sleep over it, however. I seem to have low expectations for people coding not-stupidly. Nick.
Re: OpenBSD firefox useragent Facebook
Erling Westenvik said: My Windows computers does not have this problem, neither does my laptop when it's connected through various gateways. And what about user-agent from your desktop and laptop? Do they work? -- Dmitrij D. Czarkoff
Re: OpenBSD firefox useragent Facebook
I've got two workstations and one laptop running amd64/current. problem, neither does my laptop when it's connected through various gateways. And what do you think your user agent is when you connect through those other gateways? ipchicken.com should tell you. This might have to do with which Facebook CDN node you might be hitting and DNS caching.
Re: OpenBSD firefox useragent Facebook
On Wed, Feb 18, 2015 at 04:40:04PM +0100, Alexander Salmin wrote: Not using facebook but have you checked on another computer? Feels like this is not related to OpenBSD. Anyway, your best choice is using developer-tools and trying to identify which requests works and which does not. Maybe you have like me, local DNS-server which blocks famous ad-providers IPs or similar in your hosts-file? It's OpenBSD specific in that way that it only happens on my OpenBSD computers. I've got two workstations and one laptop running amd64/current. The gateway is running unbound, but the problem got nothing to do with that. My Windows computers does not have this problem, neither does my laptop when it's connected through various gateways. I might try to install 5.6 or 5.5 on some machine just to test. I think the problem arose sometimes in between August and November. Are there some libraries in OpenBSD that are shared between Firefox, Seamonkey AND Chrome, and which could result in erraneous DOM behavior? Not that many OpenBSD'ers using FaceBook, eh? *feeling dirty* On 2015-02-18 15:32:41, Erling Westenvik wrote: Not sure if this belongs in @misc or @ports - if any! - but I'll give the former a shot. All below applies to amd64/current-installations of mine. The last few months, I've been unable to tag other people when commenting on Facebook. I've tried resetting Firefox, disabling add-ons, deleting old profiles, reinstalling the browser, and even doing a fresh install of Firefox on a new OpenBSD installation. All to now avail. I suspect the user agent setting to be the culprit and have tried experimenting with various strings. Some of them enables me to tag other people, but messes up other things. Would anyone using Facebook be so kind as to provide me with a working user agent string for Firefox (35.0) ? Thanks, Erling PS. Just checked and neither Seamonkey nor Chrome will let me tag people in comments. This is getting weird...
OpenBSD firefox useragent Facebook
Not sure if this belongs in @misc or @ports - if any! - but I'll give the former a shot. All below applies to amd64/current-installations of mine. The last few months, I've been unable to tag other people when commenting on Facebook. I've tried resetting Firefox, disabling add-ons, deleting old profiles, reinstalling the browser, and even doing a fresh install of Firefox on a new OpenBSD installation. All to now avail. I suspect the user agent setting to be the culprit and have tried experimenting with various strings. Some of them enables me to tag other people, but messes up other things. Would anyone using Facebook be so kind as to provide me with a working user agent string for Firefox (35.0) ? Thanks, Erling PS. Just checked and neither Seamonkey nor Chrome will let me tag people in comments. This is getting weird...
Re: OpenBSD firefox useragent Facebook
Not using facebook but have you checked on another computer? Feels like this is not related to OpenBSD. Anyway, your best choice is using developer-tools and trying to identify which requests works and which does not. Maybe you have like me, local DNS-server which blocks famous ad-providers IPs or similar in your hosts-file? On 2015-02-18 15:32:41, Erling Westenvik wrote: Not sure if this belongs in @misc or @ports - if any! - but I'll give the former a shot. All below applies to amd64/current-installations of mine. The last few months, I've been unable to tag other people when commenting on Facebook. I've tried resetting Firefox, disabling add-ons, deleting old profiles, reinstalling the browser, and even doing a fresh install of Firefox on a new OpenBSD installation. All to now avail. I suspect the user agent setting to be the culprit and have tried experimenting with various strings. Some of them enables me to tag other people, but messes up other things. Would anyone using Facebook be so kind as to provide me with a working user agent string for Firefox (35.0) ? Thanks, Erling PS. Just checked and neither Seamonkey nor Chrome will let me tag people in comments. This is getting weird...