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 op Clickable domain in Google search results

Vraag/Reactie

KonfMaker
§
Geplaatst: 09-03-2023

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

KonfMaker
§
Geplaatst: 10-03-2023

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');
  }
})();

Reactie plaatsen

Log in om antwoord te geven.