Status Update
Comments
pe...@google.com <pe...@google.com> #2
di...@chromium.org <di...@chromium.org> #3
ky...@chromium.org <ky...@chromium.org> #4
Will do - thank you for reassigning!
rb...@chromium.org <rb...@chromium.org> #5
@reporter, I'd love to understand your use case here, can you elaborate on the user value you're trying to provide? Is there a specific extension in the store you can point to that depends on this?
The theory behind visited links partitioning is that when a user is on one site (like example.com) what web pages they have visited in unrelated contexts is entirely irrelevant (and actively a privacy threat if example.com can learn it). So Chrome just no longer exposes any concept of "fully visited" to web pages only "previously visited from your origin".
So maybe it would make more sense to add an extension API like chrome.history.addUrl(visistedUrl, sourceOrigin)?
Said another way, with visited links partitioning we now believe it would be safe for us to have a javascript API exposed to all web pages like "hasBeenVisitedFromHere(url)" (actually such an API already effectively exists due to the various side-channel attacks). With such an API existing, how could you possibly use the feature you're proposing in a way that wouldn't result in a privacy leak?
kl...@gmail.com <kl...@gmail.com> #6
chrome.history.addUrl(visistedUrl, sourceOrigin) looks good! But according to documentation here
Privacy leak is bad, but user trusts extension. User accepted it permissions and installed it to avoid performing tedious tasks. I just want that instead of manually clicking links just to make them look visited, user would be able to just click extension icon and extension(with upgraded chrome.history.addUrl() method and maybe also with additional permission like 'extraHistory') would perform all tedious operations. If privacy leak will happen after that, there should be no difference if links where really clicked or added to history by extension.
Description
Steps to reproduce the problem
Because of :visited links partitioning(https://chromestatus.com/feature/5101991698628608 ), URLs added to history by chrome.history.addUrl() method are now considered as not really visited and are not colored as :visited. In some use cases it is really necessary to be able to add fully visited URL to history. Is it possible to provide possibility to add fully visited URL by this method? For example with second parameter
chrome.history.addUrl({ url: SOME_URL }, { isFullyVisited: true }).
Maybe only with additional permission like 'extraHistory'.
Problem Description
Chrome extensions can't add fully visited URL to history.
Summary
[Feature request][Extensions API] Allow adding fully visited URLs via chrome.history.addUrl() method
Custom Questions
Which component does this fall under?
Not sure - I don't know
Does this work in other browsers?
Not sure - I don't know
Additional Data
Category: API
Chrome Channel: Stable
Regression: Yes