Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #129665

Re: Apple Maps URL interception mechanism.

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: Apple Maps URL interception mechanism.
Date 2020-02-02 04:00 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <h9mvqjFebdvU1@mid.individual.net> (permalink)
References <saxXF.124934$db6.49433@fx33.iad> <4KWdnbHNv-uWkqvDnZ2dnUU7-YmdnZ2d@giganews.com>

Show all headers | View raw


On 2020-02-01, Alan Browne <bitbucket@blackhole.com> wrote:
> On 2020-01-27 03:28, JF Mezei wrote:
>> 
>> 
>> If I ask Firefox to go to the follwoing URL:
>> 
>> http://maps.apple.com/?q=11:45&ll=-32.397491,134.623536&t=k
>> 
>> (It's somewhere on the Gawler Ranges road where my GPS indicates I
>> stopped, aka: potential location where I can geolocate and timestamp a
>> slide I took in 1998).
>> 
>> What mechanism causes the Apple Maps application to open and respond to
>> the request when Firefox tries to process it?
>> 
>> does "maps.apple.com" get intercepted by the local Mac's DNS resolver
>> which then responds with a special IP, and the resolver launches the
>> Appe Maps app which then listens on thats pecial IP address and gets
>> Firefox' HTTP request ?
>
> I had replied to this - but I don't see it here.  So ... once more...
> ----
>
> I) If  hit that link in Thunderbird, then the Maps app opens on my Mac 
> and goes to that location.
>
> II) If I paste that link via Chrome I get a message:
>          "Open Maps?   A website wants to open this application.
>                          =======
>
>                      Cancel|Open Maps"
>
> So would appear to be that maps.apple.com sees that you're using a Mac 
> and replies with a "start maps app" code (HTML5?) to the Mac via the 
> browser and the browser intercepts that and asks the user if it's okay 
> before launching the Maps app.

No, the web server simply looks at the user agent, and for Macs returns
a 302 with a different schema that the system recognizes as a Maps URL,
as I already explained, but JF Mezei was too dense to comprehend.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-27 03:28 -0500
  Re: Apple Maps URL interception mechanism. richard@cogsci.ed.ac.uk (Richard Tobin) - 2020-01-27 14:01 +0000
  Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-27 14:06 +0000
    Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-27 13:24 -0500
      Re: Apple Maps URL interception mechanism. David Ritz <dritz@mindspring.com> - 2020-01-27 14:24 -0600
        Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-28 01:13 -0500
      Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-27 22:42 +0000
        Re: Apple Maps URL interception mechanism. Alan Baker <nunya@ness.biz> - 2020-01-27 14:59 -0800
          Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-28 14:31 +0000
            Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-01-28 18:10 +0000
  Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-01-28 18:17 +0000
    Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-28 15:30 -0500
      Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-01-28 22:11 +0000
      Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-28 23:36 +0000
  Re: Apple Maps URL interception mechanism. Alan Browne <bitbucket@blackhole.com> - 2020-01-31 18:04 -0500
  Re: Apple Maps URL interception mechanism. Alan Browne <bitbucket@blackhole.com> - 2020-02-01 18:51 -0500
    Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-02-02 04:00 +0000
      Re: Apple Maps URL interception mechanism. Alan Browne <bitbucket@blackhole.com> - 2020-02-02 12:59 -0500
      Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-02 17:41 -0500
        Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-04 20:13 +0000
          Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-05 02:23 -0500
            Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-05 21:45 +0000
              Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-05 18:25 -0500
                Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-06 01:20 +0000
                Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-05 23:49 -0500
                Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-06 05:50 +0000
                Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-06 05:53 +0000
            Re: Apple Maps URL interception mechanism. richard@cogsci.ed.ac.uk (Richard Tobin) - 2020-02-06 16:16 +0000
              Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-06 15:07 -0500
                Re: Apple Maps URL interception mechanism. richard@cogsci.ed.ac.uk (Richard Tobin) - 2020-02-06 20:43 +0000
                Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-06 16:05 -0500
                Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-02-11 09:48 +0000
                Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-11 14:32 -0500
                Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-12 05:16 +0000
                Re: Apple Maps URL interception mechanism. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-02-12 02:23 -0500
                Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-02-12 10:22 +0000
                Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-12 22:24 +0000
                Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-02-12 10:20 +0000
                Re: Apple Maps URL interception mechanism. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-02-06 22:49 +0000
                Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-02-11 09:43 +0000
        Re: Apple Maps URL interception mechanism. Jolly Roger <jollyroger@pobox.com> - 2020-02-11 09:40 +0000

csiph-web