Re:New York Times phasing out all 3rd-party advertising data
by scarface74 on Tuesday May 19, 2020 @08:37PM
(#23242074)
Does that let the extension intercept the browsing history or just allow the extension to get information about a page after the user pulls up the share sheet and chooses to send the page to the extension?
[ Parent
| on HN ]
Re:New York Times phasing out all 3rd-party advertising data
by saagarjha on Tuesday May 19, 2020 @08:40PM
(#23242090)
As I understand it, that delegate method is called whenever an extension rule matches something on the page.
Re:New York Times phasing out all 3rd-party advertising data
by scarface74 on Tuesday May 19, 2020 @09:49PM
(#23242475)
That would be amazingly slow to call an out of process function on each match when the page renders. Extensions run as a separate process. I would be amazed if Apple would allow something that inefficient as careful as it is about battery and memory efficiency.
Re:New York Times phasing out all 3rd-party advertising data
by saagarjha on Wednesday May 20, 2020 @02:05PM
(#23249893)
I mean, the Safari application is already doing XPC with the web content process constantly anyways. And perhaps they can batch these messages?
Re:New York Times phasing out all 3rd-party advertising data
by scarface74 on Wednesday May 20, 2020 @03:10PM
(#23250564)
Why would Safari be doing any communication with the content blockers? The content blockers are submitting JSON one time to iOS Safari and aren’t running at all.
Re:New York Times phasing out all 3rd-party advertising data
by saagarjha on Wednesday May 20, 2020 @03:16PM
(#23250621)
The Safari App Extension is running in the background, which is presumably what the process is communicating with.
Re:New York Times phasing out all 3rd-party advertising data
by scarface74 on Wednesday May 20, 2020 @04:48PM
(#23251603)
You’re talking about MacOS and not iOS? As far I know, the only time Safari or any other app on iOS calls an extension is when the user chooses to “share” with that extension