1. Nachrichten
  2. Forum
    1. Unerledigte Themen
    2. Forenregeln
  3. Spenden
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. camp-firefox.de
  2. Temkina

Beiträge von Temkina

  • Google Suche URL in neuen Tab

    • Temkina
    • 16. September 2026 um 23:45

    Na ich denke, wenn ich einen dauerhaften Cookie abspeichere, dass jener mich eindeutig immer identifiziert bei Google und Google somit weiß, wonach ich suche usw. Oder habe ich hier einen Denkfehler?


    JavaScript
    // ==UserScript==
    // @name        Google All Links Target _Blank (New Window or New Tab)
    // @namespace   JeffersonScher
    // @description Adds target="_blank" to all links that do not already have a target set (does not add targets to forms)
    // @match       *://*.google.com/*
    // @match       *://*.google.de/*
    // @copyright   Copyright 2012 Jefferson Scher
    // @license     CC BY http://creativecommons.org/licenses/by/3.0/
    // @version     0.9.2
    // @grant       none
    // ==/UserScript==
    
    // "external_only" - true: don't change links internal to the site; false: change every link
    var altb_external_only = true;
    
    if (document.body){
      // Check all links in the body now
      checkNode(document.body);
      // Use a MutationObserver (Fx14+) to watch for additions to the document that could include new links
      var MutOb, chgMon, i, httpels, opts;
      // To disable this feature (might improve performance), comment out the following line:
      var MutOb = (window.MutationObserver) ? window.MutationObserver : window.WebKitMutationObserver;
      if (MutOb){
        chgMon = new MutOb(function(mutationSet){
          mutationSet.forEach(function(mutation){
            // when additions to the document are detected, check for links
            for (i=0; i<mutation.addedNodes.length; i++){
              if (mutation.addedNodes[i].nodeType == 1){
                checkNode(mutation.addedNodes[i]);
              }
            }
          });
        });
        // attach chgMon to document.body
        opts = {childList: true, subtree: true};
        chgMon.observe(document.body, opts);
      }
      /* // For testing only -- all links cyan
      var sty = document.createElement("style");
      sty.setAttribute("type", "text/css");
      sty.appendChild(document.createTextNode("a{background-color:#0ff}"));
      document.body.appendChild(sty);
      */
    }
    
    function checkNode(el){
      // Find links that do not have a target attribute; we don't want to change existing targets
      var aLinks = el.querySelectorAll("a.zReHs[href]:not([target])");
      var href = "";
      if (aLinks.length > 0){
        for (var j = 0; j < aLinks.length; j++){
          // Check links that do not start with "javascript:"
          href = aLinks[j].href.toLowerCase();
          if (href.indexOf("javascript:") != 0){
            // Check the "external_only" parameter
              // Add the target regardless of site
              aLinks[j].setAttribute("target", "_blank");
              /* // For testing only
              aLinks[j].style.backgroundColor = "#ff0";
              */
          }
        }
      }
    }
    Alles anzeigen

    Aber habe jetzt Greasemonkey installiert und dies hier eingefügt. Es scheint zu funktionieren. Vielen Dank!

  • Google Suche URL in neuen Tab

    • Temkina
    • 16. September 2026 um 18:44

    klar, aber man muss es Google ja nicht unbedingt leichter machen ein Suchprofil über einen zu erstellen.

  • Google Suche URL in neuen Tab

    • Temkina
    • 16. September 2026 um 18:12

    ok, aber ich bin eben dadurch identifizierbar. HIer mag dies egal sein...

  • Google Suche URL in neuen Tab

    • Temkina
    • 16. September 2026 um 17:54

    dies läuft dann über cookie. aber damit bin ich immer eindeutig identifizierbar oder

  • Google Suche URL in neuen Tab

    • Temkina
    • 16. September 2026 um 14:24

    Also ist die einzige Lösung dieses Grasemonkeyscript oder?

  • Google Suche URL in neuen Tab

    • Temkina
    • 15. September 2026 um 00:14

    alle links ist doch unpraktisch oder nicht... weil wenn dieselbe domän, nervig...

  • Google Suche URL in neuen Tab

    • Temkina
    • 14. September 2026 um 23:56

    here now for you...

    Bilder

    • 14-09-2026 23 56 09.png
      • 95,99 kB
      • 1.894 × 895
  • Google Suche URL in neuen Tab

    • Temkina
    • 14. September 2026 um 22:54

    Hallo,


    mir ist vor kurzen aufgefallen, dass ich Links in der Google-Suche nicht mehr im Tab öffnen lassen. Also die Suche über Adresszeile, dann Google-Webseite und genau der Klick auf ein Ergebnis hat bisher jenes in einem neuen Tab geöffnet. Nun passiert dies nicht mehr. Ich hatte dazu Tabmix Links genutzt. Wie ich sehen konnte, hat Google nun folgendes: Anhang

    Deshalb ist klar, warum sich Links, welche zu anderen Domänen führen, nicht mehr in einem neuen Tab öffnen. Dies ist so unpraktisch.

    Vorher war dies anders. Gibt es schon eine Erweiterung oder andere Lösung, welche mein Problem löst?

    Vielen Dank!

    Bilder

    • 14-09-2026 22 52 43.png
      • 150,43 kB
      • 1.916 × 974

Unterstütze uns!

Jährlich (2026)

76,1 %

76,1% (589,79 von 775 EUR)

Jetzt spenden
  1. Kontakt
  2. Datenschutz
  3. Impressum
Community-Software: WoltLab Suite™
Mastodon