If Twitter forgets your timeline preference, and you're using Safari, this is why

Privacy through amnesia not ideal for remembering user choice

Apple's Intelligent Tracking Protection (ITP) in Safari has implemented privacy through forgetfulness, and the result is that users of Twitter may have to remind Safari of their preferences.

Apple's privacy technology has been designed to block third-party cookies in its Safari browser. But according to software developer Jeff Johnson, it keeps such a tight lid on browser-based storage that if the user hasn't visited Twitter for a week, ITP will delete user set preferences.

So instead of seeing "Latest Tweets" – a chronological timeline – Safari users returning to Twitter after seven days can expect to see Twitter's algorithmically curated tweets under its "Home" setting.

Twitter on its own had hoped to make that the default for everyone. The social network earlier this year briefly removed an option to view tweets chronologically by default, forcing users to view its suggested tweets. Algorithmic social media feeds are designed to promote outrage, sorry, engagement, which tends to lead to greater usage and improved advertising revenue.

However, Twitter's effort to shift users over to its curated feed was poorly received. Dissatisfaction with the change led to an outcry and in March the biz reversed course and restored the ability for users to choose to see the most timely tweets first.

Safari has complicated that choice by electing to have a short memory for the sake of privacy. As a result Apple's browser will forget users' Twitter preferences in time if not reminded of them with sufficient frequency.

Silhouette of someone holding a padlock in front of the Google Chrome logo

Makers of ad blockers and browser privacy extensions fear the end is near


"If you change your timeline with the 'sparkly' icon at the top of https://twitter.com/home, the change will be reflected in [the browser's] database," explains Johnson, who runs Underpass App Company, in a blog post. "Your Twitter display settings such as font size and color scheme are also stored in the database."

Safari, he says, stores its settings for Twitter timeline viewing preferences in an IndexedDB database. But ITP's storage policy sets a seven-day cap on all writable storage. That prevents cookies from lingering too long, but isn't ideal when it comes to stored preferences.

"ITP caps the expiry of all cookies created in JavaScript to seven days and deletes all other script-writeable storage after seven days of no user interaction with the website," explains Johnson, who said he expects the issue is likely to affect Safari users who visit other websites that store data similarly.

Apple WebKit security and privacy engineer John Wilander has been overseeing an effort to develop the IsLoggedIn API, which aims to link storage to authentication state in a way that might address ITP impermanence but for now the API remains incomplete.

There is a way to disable Safari's behavior, says Johnson. On macOS, this involves checking the "Show Develop menu in menu bar" checkbox in Safari's Preferences menu and then selecting the "Disable Removal of Non-Cookie Data After 7 Days of No User Interaction (ITP)" via the Develop menu's Experimental Features selection. On iOS, the menu path is Settings->Safari>Advanced->Experimental Features. ®

Other stories you might like

  • Workers win vote to form first-ever US Apple Store union
    Results set to be ratified by labor board by end of the week

    Workers at an Apple Store in Towson, Maryland have voted to form a union, making them the first of the iGiant's retail staff to do so in the United States.

    Out of 110 eligible voters, 65 employees voted in support of unionization versus 33 who voted against it. The organizing committee, known as the Coalition of Organized Retail Employees (CORE), has now filed to certify the results with America's National Labor Relations Board. Members joining this first-ever US Apple Store union will be represented by the International Association of Machinists and Aerospace Workers (IAM).

    "I applaud the courage displayed by CORE members at the Apple store in Towson for achieving this historic victory," IAM's international president Robert Martinez Jr said in a statement on Saturday. "They made a huge sacrifice for thousands of Apple employees across the nation who had all eyes on this election."

    Continue reading
  • Apple gets lawsuit over Meltdown and Spectre dismissed
    Judge finds security is not a central feature of iDevices

    A California District Court judge has dismissed a proposed class action complaint against Apple for allegedly selling iPhones and iPads containing Arm-based chips with known flaws.

    The lawsuit was initially filed on January 8, 2018, six days after The Register revealed the Intel CPU architecture vulnerabilities that would later come to be known as Meltdown and Spectre and would affect Arm and AMD chips, among others, to varying degrees.

    Amended in June, 2018 the complaint [PDF] charges that the Arm-based Apple processors in Cupertino's devices at the time suffered from a design defect that exposed sensitive data and that customers "paid more for their iDevices than they were worth because Apple knowingly omitted the defect."

    Continue reading
  • Apple may have to cough up $1bn to Brits in latest iPhone Batterygate claim
    Lawsuit took its time, just like your older iOS handset

    Another day, another legal claim against Apple for deliberately throttling the performance of its iPhones to save battery power.

    This latest case was brought by Justin Gutmann, who has asked the UK's Competition Appeal Tribunal (CAT) to approve a collective action that could allow as many as 25 million Brits to claim compensation from the American technology giant. He claims the iGiant secretly degraded their smartphones' performance to make the battery power last longer.

    Apple may therefore have to cough up an eye-popping £768 million ($927 million), Gutmann's lawyers estimated, Bloomberg first reported this week.

    Continue reading
  • UK competition watchdog seeks to make mobile browsers, cloud gaming and payments more competitive
    Investigation could help end WebKit monoculture on iOS devices

    The United Kingdom's Competition and Markets Authority (CMA) on Friday said it intends to launch an investigation of Apple's and Google's market power with respect to mobile browsers and cloud gaming, and to take enforcement action against Google for its app store payment practices.

    "When it comes to how people use mobile phones, Apple and Google hold all the cards," said Andrea Coscelli, Chief Executive of the CMA, in a statement. "As good as many of their services and products are, their strong grip on mobile ecosystems allows them to shut out competitors, holding back the British tech sector and limiting choice."

    The decision to open a formal investigation follows the CMA's year-long study of the mobile ecosystem. The competition watchdog's findings have been published in a report that concludes Apple and Google have a duopoly that limits competition.

    Continue reading

Biting the hand that feeds IT © 1998–2022