[haiku-bugs] Re: [Haiku] #13657: [WebPositive] GitHub no longer supports old versions of Safari

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 07 Aug 2017 10:39:45 -0000

#13657: [WebPositive] GitHub no longer supports old versions of Safari
----------------------------------------+----------------------------
   Reporter:  Giova84                   |      Owner:  pulkomandy
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1/beta1
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  x86
----------------------------------------+----------------------------

Comment (by pulkomandy):

 Replying to [comment:8 diver]:

Turns out I was wrong about QupZilla/QtWebKit as it shows the same
 warning. However, in QupZilla you can change user agent for specific
 website. Setting it top Opera (from a dropdown list) makes it go away. It
 seems that we need to update user agent in qtwebkit to pretend we're on a
 newer Safari.

 It depends which part of the user agent they detect. If it is the WebKit
 version, then there is no choice but updating (I don't want to lie on that
 in the user agent). If they use some other part of the string, then yes,
 we could look at current Safari UA and see what we need to change to match
 even closer to it.

 The current UA for Safari:

 {{{
 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.18 (KHTML,
 like Gecko) Version/9.2 Safari/602.1.18
 }}}

 And for Web+:

 {{{
 Mozilla/5.0 (Macintosh; Intel Haiku R1 x86) AppleWebKit/601.1.30 (KHTML,
 like Gecko) WebPositive/1.2 Version/8.0 Safari/601.1.30
 }}}

 So it's possible we can get away by just bumping the "Version" in there?

--
Ticket URL: <https://dev.haiku-os.org/ticket/13657#comment:11>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: