-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't do speculative loading on Incognito/Private window #130
Comments
We're working on fixing this in Chromium :). https://issues.chromium.org/issues/339223835
This is harder to fix, but this issue discusses some first steps we're considering taking on Chromium side toward maybe, eventually resolving this. https://issues.chromium.org/issues/335328446 |
Hi @domenic, For the adblocker issue, I'm optimistic that some middle ground can be found but not fully sure. |
Since Chrome 126.0.6478.0 (which has now been in the stable channel for some time), speculation rules prefetching in incognito contexts should work. |
Recently I got to play with your newly updated script with Speculative Loading added to it. It's amazing but here are a few gotcha's that I faced, so I'm sharing them here (maybe you will fix some and add some to the documentation):
The prefetch was not performed because the browser is in Incognito or Guest mode.
I really wish there was a way/function to check if the user is using incognito mode and if so use the fallbacklink
mechanism otherwise use Speculative loading. Unfortunately, as much as I have tried I couldn't come up with a single function to check if the user is using incognito mode.I truly hope you get a way to figure out if the user is using incognito mode and if so, don't do speculative loading.
The text was updated successfully, but these errors were encountered: