Clickable domain in Google search results

Ever wanted to get at the main page of the sought-for website right from the Google search results? Now you can

< Feedback on Clickable domain in Google search results

Question/comment

KonfAuthor
§
Posted: 2023-03-09

It's broken right now because of the google search update, I will look into it a bit later. Maybe

KonfAuthor
§
Posted: 2023-03-10

I've decided to not to fix it. The feature is not worth the time that need to be spend to do that

Alternatives:

  • Alt+select a domain part of a link → RMB → Open in new tab
  • Open the website → select the domain part from the search bar → drag it to the top of the tab or the https lock icon
  • Only Chromium based browsers:
// ==UserScript==
// @name          Go to domain
// @description   RMB any link and go to domain using context menu
// @version       1
// @match         http://*/*
// @match         https://*/*
// @run-at        context-menu
// @grant         none
// ==/UserScript==

(function() {
  if (
    document.activeElement &&
    document.activeElement.nodeName === 'A' &&
    document.activeElement.origin
  ) {
    window.open(document.activeElement.origin, '_blank');
  }
})();

Post reply

Sign in to post a reply.