Closed Qsuare closed 6 years ago
Thanks, I might adapt this patch a bit, but will definitely take your suggestion
Would be great if this was fixed. Any help needed with this issue?
@roded thanks for offering to help! If you cleanup the patch and update the code I'll be happy to merge. Specifically:
USER_AGENTS = {
'mobile': 'foo',
'desktop': 'goo'
}
Fixed in #25
Using googlebot user agent on mobile is forcing haaretz's desktop site. It doesn't if we use the Googlebot (Smartphone) user agent (https://support.google.com/webmasters/answer/1061943?hl=en). I've changed the user string under a custom user agent extension in firefox mobile, and it's working, but I didn't manage to test this pull request as I'm struggling with installing the built .xpi file. Please test it before making any changes.