We’ve recently run into a lot of issues with the In-App Mobile Browsers on Facebook and Twitter, so I thought I’d publish the User Agents for these browsers to help others looking for the same information.
Particularly, the issue we were experiencing was sites that were linked to from Facebook and Twitter, which had links in a post that were supposed to open in a new window with target=”_blank” were just leading to “about:blank” pages and not redirecting. Based on the user agent we’ve changed the links to target="_self"
, which I know is bad practice but until we notify all the editors to stop using target="_blank"
I don’t see an easier workaround.
Safari
Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B466 Safari/600.1.4
Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B466
Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B466 [FBAN/FBIOS;FBAV/23.0.0.7.11;FBBV/6551639;FBDV/iPhone5,1;FBMD/iPhone;FBSN/iPhone OS;FBSV/8.1.3;FBSS/2; FBCR/AT&T;FBID/phone;FBLC/en_US;FBOP/5]