Chrome Prerendering Is Weird

(tombennet.dev)

7 points | by bucket2015 a day ago ago

1 comments

  • xg15 8 hours ago

    - They open an Incognito window and start typing synt… into the address bar.

    - Chrome suggests a page in the app they’ve visited before - like their recent videos - and highlights it.

    - Chrome is confident enough that they’ll go there that it prerenders the page in the background.

    - The app loads in that invisible page, grabs any parameters from the URL, and saves them in localStorage.

    Uuh, isn't this a massive privacy leak and potentially defeating the purpose of Incognito Mode?

    So Chrome uses the non-Incognito history to generate a suggestion, then immediately sends the URL of that suggestion to the server in Incognito Mode and even lets it set local state for the Incognito session? All without the user realizing that anything is going on?

    Independent of that, why can prerender pages change state like localStorage at all?