Categories
Chrome Google

Google’s new Chrome extension lets you link directly to specific text on a page – The Verge

Link to Text Fragment is a new Chrome Extension from Google that lets you generate URLs to specific text on a webpage, regardless of the page’s formatting.

With the extension installed, simply highlight the text you want to link to, right click, and select “Copy Link to Selected Text.” This can then be shared and opened by anyone using a compatible browser. For example, clicking this link in Chrome or Edge will bring you directly to a highlighted section at the bottom of the article.

The Google extension builds upon a new feature that was recently added to Chromium called Text Fragments, which works by appending extra linking information to a URL after a #. It’s the same technology that Google now sometimes uses to link to specific parts of a webpage in search results. However, these URLs can be long and difficult to manually create if you’re linking to longer sections of text, or complex web pages where the same words are repeated multiple times. This extension simplifies the creation process.

The links created by the extension are compatible with version 80 upwards of all Chromium-based browsers, but they’re not supported in all browsers. Google’s blog post notes that as of yesterday Firefox and Safari had not said that they’d implement the feature. Clicking a link using those browsers will simply take you to the top of the linked webpage, without highlighting the text.

Text fragments are a small but useful piece of functionality that make it easier to find specific information on a webpage. In the paragraph above, for example, the hyperlink to Google’s blog post is set up to link directly to the section about Firefox and Safari compatibility. You could also see it being useful for linking to a specific step in a long series of instructions, or a particular entry in a best-of list.

The extension and the functionality it enables are promising, but it’s not perfect just yet. While testing out the feature in Edge, I’d sometimes get linked to the correct part of the page, but the text wouldn’t be highlighted. Then, when creating links, I’d sometimes receive an error telling me to highlight a longer section of text, despite having already selected a whole paragraph. I wasn’t able to verify what it was about my combination of browser, extensions, and the websites I was linking to that caused these problems.

The Link to Text Fragment extension is available now in the Chrome Web Store.

Read More

Categories
Chrome Google

Google Chrome’s memory use could drop significantly after adopting a new Windows 10 feature – XDA Developers

The Google Chrome RAM hog meme might soon be a thing of the past as Microsoft has introduced a new feature in Windows 10 that could reduce Chrome’s memory usage significantly. According to a recent report from Windows Latest, the Windows 10 May 2020 update (20H1) has started rolling out to users worldwide, and it introduces Windows segment heap memory improvements that will reduce the overall memory usage of Win32 apps like Google Chrome.

Microsoft explains that the latest update for Windows 10 introduces a new “SegmentHeap” value for developers, which is a modern heap implementation that “will generally reduce your overall memory usage” on Windows 10 version 2004 or newer. The company has confirmed that it has already started using the new value in its Chromium-based Edge browser, with early tests showing a memory reduction of up to 27% on the Windows 10 May 2020 update.

Google Chrome could also benefit from the new value, and according to a recently added commit on the Chromium Gerrit, a change may be coming soon. In the commit, a Chrome developer notes that adding the “SegmentHeap” entry to the chrome.exe manifest will tell Windows 10 2004 or newer to opt chrome.exe into using the segment heap instead of the legacy heap. The developer further notes that “Experiments with per-machine opting-in to the segment heap for chrome.exe suggests that this could save hundreds of MB in the browser and Network Service utility processes, among others, on some machines.”

While both Microsoft and Google note that the actual results will vary widely, the change will undoubtedly reduce memory usage to some extent and provide users with a better experience overall. As of now, it isn’t clear when the improvements will land in a stable release of Google Chrome.


Source: Windows blog, Microsoft Application Manifests, Chromium Gerrit

Via: Windows Latest

Want more posts like this delivered to your inbox? Enter your email to be subscribed to our newsletter.

Read More