LinkPreview is the new experimental feature being worked on by Chrome developers
Recently, Google developers in charge of the Chrome web browser project announced the implementation of an option in the Blink engine codebase to include an experimental feature called "LinkPreview".
The new experimental feature "LinkPreview" is intended to display a preview window of the page to the user when they hover over a link or hold down a link.
The project is mentioned to be developed by Takashi Toyoshima, one of the developers of the Prerender content rendering mechanism, which complements the ability to preload the most navigable links.
The preview page will be triggered when users take an action, either by clicking on the preview page or by choosing a side menu item, such as “open preview page in new tab”.
We may introduce a new intermediate state that is virtually activated but does not make it to the front page to allow users to interact with preview content, e.g. scroll, submit a form, etc. This may be an advanced feature beyond MVP, as it will introduce more complexity, but it's good to count it as a possible next step in the initial design discussion.
Regarding the new experimental feature "LinkPreview," it's mentioned that the difference lies in the fact that, in addition to loading pages, its content is drawn into the buffer without waiting for user action , allowing for instant preview of the resource after a click. Prerender has so far only been used to prerender the content of recommendations in the Omnibox address bar. LinkPreview expands the use of Prerender, allowing it to be used not only to prepare for the instant opening of a new page but also to preview it.
With the link preview, the window displays over the content in a way similar to a picture-in-picture video , allowing the user to quickly evaluate the content without opening it in a separate window or tab. If more detailed information is needed, the preview site can be moved to a separate tab or sidebar.
To isolate the processing of third-party content during previews within the current tab, the developers propose using the mechanisms already implemented in Prerender . Additionally, they are considering opening a preview only after an explicit user action (such as clicking and holding on a link) instead of the automatic hover preview implemented in the prototype. They also intend to add an option to disable previews in the settings.
To display the preview, the concept of ephemeral windows is proposed , based on the tab system already used in Chrome for Android. The idea is that each tab could include a brief, isolated, and invisible window that contains the preview tabs.
If the user opens the currently viewed site in a new tab, the preview tab is detached from the popup window and becomes a regular tab anchored to the main browser window. The advantage of this solution is that all the necessary functionality is already in the browser and you only need to add a new type of window.
The Link Preview implementation is currently in the experimental prototype stage, available as patches , and has not yet been peer-reviewed or included in the Chromium project repositories. Implementation details have not yet been approved, and discussions are ongoing regarding privacy and security.
Finally, if you are interested in learning more, you can find the details at the following link.