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. genetic

Beiträge von genetic

  • Unsere Anpassungen in der userChrome.css

    • genetic
    • 27. Dezember 2017 um 19:51
    Zitat

    menu[label="Link an Gerät senden"],
    menu[label="Tab an Gerät senden"],
    menu[label="Seite an Gerät senden"],
    menuitem[label="Link in neuem Tab öffnen"],
    menuitem[label="Link in neuem privaten Fenster öffnen"],
    menuitem[label="Link bei Pocket speichern"],
    menuitem[label="Seite bei Pocket speichern"],
    menuitem[label="Auswahl-Quelltext anzeigen"],
    menuseparator#inspect-separator,
    menuseparator#context-sep-sendlinktodevice{
    display:none!important}

    Alles anzeigen

    Bei mir verschwinden hiermit die Einträge
    Link an Gerät senden
    Link in neuem privaten Fenster öffnen

    nicht.

    Eine Idee, woran es liegen könnte?

  • Exit Button

    • genetic
    • 27. Dezember 2017 um 19:49

    Tja, dann liegt's wohl an mir bzw. meinen port. Version.

  • Exit Button

    • genetic
    • 27. Dezember 2017 um 19:19

    Im Portable 57 funktioniert es definitiv nicht.

    Es erscheint der Button, aber wenn ich drauf klicke tut sich rein garnix.

  • Exit Button

    • genetic
    • 27. Dezember 2017 um 00:07

    Zahl...Zeile...wer wird's denn gleich so genau nehmen :mrgreen:

    Jedenfalls funzt das ganze (noch) nicht. :wink:

  • Exit Button

    • genetic
    • 26. Dezember 2017 um 21:15

    Kann es sein, dass die Zahl immernoch fehlt oder es nicht nur eine ist? :-??:mrgreen:

  • Exit Button

    • genetic
    • 26. Dezember 2017 um 16:21

    Danke. :klasse:

    Da steht er nun, nu leider ohne Funktion :wink:

  • eckige Tabs bei Quantum abrunden

    • genetic
    • 26. Dezember 2017 um 15:17

    Hallo,

    ich nutze folg. Script:

    CSS
    /******************* Abgerundete Tabs ********************/
    
    
    :root {
      --tab-curve-width: 30px;
      --tabs-border: transparent !important;
    }
    
    
    .arrowscrollbox-scrollbox {
      padding-inline-start: 10px !important;
    }
    
    
    /* To be able to see the top border of the tab */
    .tab-stack {
      margin-top: 2px !important;
    }
    
    
    /* When the window is maximized, the first pinned tab is properly displayed. */
    #TabsToolbar  {
      padding-inline-start: 15px !important;
    }
    
    
    .titlebar-placeholder {
      border: none !important;
    }
    
    
    /* Remove unneeded styles from Photon */
    .tabbrowser-tab::before,
    .tabbrowser-tab::after {
      border: none !important;
    }
    
    
    .tabbrowser-tab > .tab-stack > .tab-background {
      background-image: none !important;
      -moz-box-orient: horizontal !important;
      background-color: transparent !important;
      margin-top: 1px !important;
    }
    
    
    .tab-background[selected="true"] {
      border: none !important;
    }
    
    
    .tab-line {
      display: none !important;
    }
    
    
    .tab-bottom-line {
      display: none !important;
    }
    
    
    /* Match height of new tab button (right svg) on hover */
    .tabs-newtab-button {
      margin: 0 !important;
    }
    
    
    /* overlap the tab curves */
    .tab-background {
      -moz-margin-end: -15px !important;
      -moz-margin-start: -15px !important;
    }
    
    
    /* Begin tab background customizations */
    .tab-background[selected="true"]::before {
      border: none !important;
      content: "" !important;
      width: 30px !important;
      min-height: 30px !important;
      display: -moz-box !important;
      background-repeat: no-repeat !important;
    }
    
    
    .tab-background[selected="true"]::after {
      border: none !important;
      content: "" !important;
      width: 30px !important;
      min-height: 30px !important;
      display: -moz-box !important;
      background-repeat: no-repeat !important;
    }
    
    
    .tab-background[selected="true"] > spacer {
      margin-top: 0px !important;
    }
    
    
    #new-tab-button,
    .tabs-newtab-button {
      width: calc(36px + 30px) !important;
      margin-inline-start: -15px !important;
      margin-top: 1px !important;
    }
    
    
    /* Tab hover customizations */
    
    
    /* Regular tabs */
    .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true])::before {
      display: -moz-box !important;
      background-repeat: no-repeat !important;
      content: "" !important;
      width: 30px !important;
      min-height: 30px !important;
      background-color: transparent !important;
    }
    
    
    .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true])::after {
      display: -moz-box !important;
      background-repeat: no-repeat !important;
      content: "" !important;
      width: 30px !important;
      min-height: 30px !important;
      background-color: transparent !important;
    }
    
    
    .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) > spacer {
      margin-top: 0px !important;
    }
    
    
    #TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"]),
    .tabs-newtab-button:hover,
    .tabs-newtab-button:hover::before,
    .tabs-newtab-button:hover::after {
      background-color: transparent !important;
    }
    
    
    /* New tab hover customizations */
    .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"]), .tabs-newtab-button:hover {
      background-position: 0px 2px, 30px 4px , 36px 2px !important;
      background-repeat: no-repeat !important;
      background-size: 30px 30px, calc(100% - (2 * 30px)) 30px, 30px !important;
    }
    
    
    .tabs-newtab-button:hover > .toolbarbutton-icon {
      background: none !important;
      background-color: transparent !important;
    }
    
    
    /* Color specific customizations */
    :root {
      --svg-selected-before: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgb(245,246,247);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>");
    
    
      --svg-selected-after: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgb(245,246,247);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>");
    
    
      --background-selected-middle:
        linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)),
        linear-gradient(
          transparent
          2px,
          rgb(245,246,247) 2px,
          rgb(245,246,247)
        ),
        none;
    
    
      --svg-hover-before: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='30px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='30' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgba(0,0,0, .1);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>");
    
    
      --svg-hover-after: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgba(0,0,0,.1);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>");
    
    
      --background-hover-middle:
        linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)),
        linear-gradient(
          transparent
          2px,
          rgba(0,0,0,.1) 2px,
          rgba(0,0,0,.1)
        ),
        none !important;
    
    
      --newtab-hover: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgba(0,0,0,.1);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>"),
        linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1)),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='30px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgba(0,0,0,.1);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>");
    }
    
    
    
    
    /* OS-specific color variables */
    @media screen and (-moz-windows-theme) {
      :root {
    
    
      }
    }
    
    
    @media not screen and (-moz-windows-theme) {
      :root {
    
    
      }
    }
    
    
    .tab-background[selected="true"]::before {
      background-image: var(--svg-selected-before) !important;
    }
    
    
    .tab-background[selected="true"]::after {
      background-image: var(--svg-selected-after) !important;
    }
    
    
    .tab-background[selected="true"] > spacer {
     background-image: var(--background-selected-middle) !important;
    }
    
    
    .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true])::before {
      background-image: var(--svg-hover-before) !important;
    }
    
    
    .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true])::after {
      background-image: var(--svg-hover-after) !important;
    }
    
    
    .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) > spacer {
      background-image: var(--background-hover-middle) !important;
    
    
    }
    
    
    .tabs-newtab-button:hover {
      background-image: var(--newtab-hover) !important;
    }
    Alles anzeigen

    Was ich machen möchte:

    -Farbe der aktiven/naktiven Tabs ändern.
    -Die Hoover-Farbe des Close-Buttons, der Tabs, ändern

    Leider finde ich die richtige Stelle nicht bzw. weiß nicht wie in CSS umsetzen.

    Kann jemand helfen?

    Danke im Voraus.

  • Sortierung der Standard-Ordner in "Lesezeichen"

    • genetic
    • 26. Dezember 2017 um 14:14

    Hallo zusammen,

    zu o.g. Thema habe ich trotz intensiver Suche leider nicht gefunden:

    Würde gerne di Standard-Ordner in der Lesezeichen-Sidebar anders sortieren.

    Standard:
    >Lesezeichen-Sysmbolleiste
    >Lesezeichen-Menü
    >Weitere Lesezeichen

    Neu:
    >Lesezeichen-Sysmbolleiste
    >Weitere Lesezeichen
    >Lesezeichen-Menü

    Kann jemand hefen?

    Danke im Voraus.

  • Exit Button

    • genetic
    • 26. Dezember 2017 um 14:05

    Könnte man die Neustartfunktion auch in die seitliche Menüleiste (rechts) einbinden - z.B. über den Punkt "Beenden"?

  • FF57 - Links in neuem Tab öffnen

    • genetic
    • 25. Dezember 2017 um 18:25

    ...ja, daran wird's wohl liegen.

    Ob praktisch oder unpraktisch lässt sich streiten und wird wohl von User zu User unterschiedlich gewertet werden.

    Ich habe mich jetzt vorerst mal mit diesem Addon beholfen:

    Open in new tab: https://addons.mozilla.org/de/firefox/add…domain/?src=api

    Da muss man zwar die Domain, in der man jeden Link, in neuem Tab, öffnen möchte, quasi vorab eingeben (und speichern), aber für die gängisten Seiten, die man kennt, ganz okay. Bei mir z.B. Google.

  • FF57 - Links in neuem Tab öffnen

    • genetic
    • 25. Dezember 2017 um 13:02

    Das mit "Links in neuem Tab" ist wohl doch nicht ganz so einfach/unkompliziert...

    Dachte eiegntlich mit dem Addon Open Link with New Tab das richtige gefunden zu haben.

    Jedoch wird dann (trotz entsprechender Einstellung) zu oft ein neuer Tab geöffnet.

    Beispiel: Einstellung - Open a link to a different site on a tab

    ...bin ich bei ebay auf der Startseite und möchte mich einloggen, macht er mir einen neuen Tab auf - obwohl das ja noch dieselbe Seite ist.

    Bug oder Feature? Man weiß es nicht. Jedenfalls nicht ganz optimal.

  • FF57 - Links in neuem Tab öffnen

    • genetic
    • 24. Dezember 2017 um 19:09
    Zitat von Boersenfeger


    Als Ergänzung wird hier zu dem genannten Script noch die Erweiterung
    Open Link with New Tab
    genutzt..

    Spitzen-Tipp :klasse:

    ...die aneren beiden benötige ich eher nicht, behalte sie aber mal im Hinterkopf.

  • FF57 - Links in neuem Tab öffnen

    • genetic
    • 24. Dezember 2017 um 18:23
    Zitat

    Öffnen sich alle Links im selben Tab oder nur einige?

    Es öffnen sich genau die Links, in einem neuen Tab, die per Script dazu aufgefordert werden:

    Code
    var b_urlbar = true;
        var b_searchbar = true;
    
    
        function whereToOpenLinkMod() {
            {
        var b_bookmarks = true;
        var b_history = true;

    alle anderen logischerweise nicht.

    Zitat

    Wenn Du nicht sicher bist, klicke rechts und wähle "in neuem Tab öffnen".

    ...möchte ich aber nicht unbedingt, deshalb die Frage nach einem Script :wink:

  • FF57 - Links in neuem Tab öffnen

    • genetic
    • 24. Dezember 2017 um 17:09

    Stimmt - es funktioniert - aber nicht bei Links (die z.B. innrehalb eines Textes vorkommen).

  • FF57 - Links in neuem Tab öffnen

    • genetic
    • 24. Dezember 2017 um 17:02

    Hallo zusammen,

    nachdem ich mich mit dem Thema "Scripte" etwas vertraut gemacht habe und mir einige wenige, für meine Zwecke, zusammengesucht habe, finde ich leider kein funktionierendes Script, um Links in einem neuen Tab öffnen zu lassen.

    Diese beiden Scripts sollen das wohl können...sind aber vermutlich zu alt und es fuktioniert in FF57 nicht.

    OpenLinkinNewTabwithRightClick.uc.js
    OpenLinkinTab.uc.js

    Weiß jemand, wie man sie anpassen muss?

    Code
    // 修改自 openlinkinnewtabwithleftdoubleclick
    
    
    (function() {
      var gTimer = null;
    
    
      function findLink(element) {
        switch (element.tagName) {
        case 'A': return element;
    
    
        case 'B': case 'I': case 'SPAN': case 'SMALL':
        case 'STRONG': case 'EM': case 'BIG': case 'SUB':
        case 'SUP': case 'IMG': case 'S':
          var parent = element.parentNode;
          return parent && findLink(parent);
    
    
        default:
          return null;
        }
      }
    
    
      function click(element, view) {
        var e = document.createEvent('MouseEvents');
        e.initMouseEvent('click', true, true, view, 0,
                         0, 0, 0, 0, false, false, false, false, 0, element);
        return !element.dispatchEvent(e);
      }
    
    
      function openTab(href) {
        if ('TreeStyleTabService' in window)
          TreeStyleTabService.readyToOpenChildTab(gBrowser.selectedTab, false);
        return gBrowser.addTab(href);
      }
    
    
    
    
      function findFrames(frame) {
        var frames = frame.frames;
        var fs = {};
    
    
        for (var i = 0, len = frames.length; i < len; ++i) {
          var f = frames[i];
          fs[f.name] = f;
    
    
          var children = findFrames(f);
          for (k in children) {
            var f = children[k];
            fs[f.name] = f;
          }
        }
    
    
        return fs;
      }
    
    
      function followLink(args) {
        var link = args.link;
        var newTab = args.newTab;
        var window = args.window;
        var activate = args.activate;
        var href = link.href;
        var target = link.target;
    
    
        if (newTab) {
          var tab = openTab(href);
          if (activate) {
            gBrowser.selectedTab = tab;
          }
        } else if (!target || target == '_self') {
          window.location.href = href;
        } else {
          switch (target) {
          case '_top':
            window.top.location.href = href;
            break;
    
    
          case '_parent':
            window.parent.location.href = href;
            break;
    
    
          case '_blank':
            gBrowser.selectedTab = gBrowser.addTab(href);
            break;
    
    
          default:
            var frames = findFrames(window.top);
            var frame = frames[target];
    
    
            if (frame) {
              frame.location.href = href;
            } else {
              gBrowser.selectedTab = gBrowser.addTab(href);
            }
          }
        }
      }
    
    
      gBrowser.mPanelContainer.addEventListener('click', function(e) {
        if (e.button == 2 && !e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey) {
          var link = findLink(e.target);
          if (link) {
            var href = link.href;
    
    
            if (href && href.match(/^(https?|ftp):\/\//)) {
              e.preventDefault();
              e.stopPropagation();
    
    
              if (!gTimer) {
                gTimer = setTimeout(function() {
                  try {
                    // if (click(link, e.view)) {
                      followLink({ link: link, window: e.view, newTab: true, activate: false });
                    // }
                    clearTimeout(gTimer);
                  } finally {
                    gTimer = null;
                  }
                }, 200);
              }
            }
          }
        }
      }, false);
    
    
      // gBrowser.mPanelContainer.addEventListener('dblclick', function(e) {
      //   content.console.log(e.button)
      //   if (gTimer) {
      //     try {
      //       clearTimeout(gTimer);
      //       var link = findLink(e.target);
      //       if (link) {
      //         var href = link.href;
      //         if (href.match(/^(https?|ftp):\/\//) && click(link, e.view)) {
      //           followLink({ link: link, window: e.view, newTab: true, activate: false });
      //         }
      //       }
      //     } finally {
      //       gTimer = null;
      //     }
      //   }
      // }, false);
    })();
    Alles anzeigen
    Code
    //// Alle Links auf einer Seite werden in neuen Tabs geöffnet - OpenLinkinTab////
    
    
    (function() {
        function OnClick(e) {
            var href, sURI, target;
    
    
            for(target=(e.button==0?e.target:null); target!=null;
                target=target.parentNode) {
                if (!target.localName || target.localName=='A' ||
                    target.localName=='a')
                    break;
            }
            if (target!=null && target.href!=null) {
                href = target.href; sURI = gBrowser.currentURI.spec;
                gBrowser.loadOneTab(href, {
                        referrerURI: document.documentURIObject,
                        charset: target.charset, postData: null,
                        inBackground: false});
                    e.preventDefault();
            }
        }
    
    
        try {
            gBrowser.addEventListener('click', OnClick, false);
        }catch(e) {}
    
    
    })();
    Alles anzeigen
  • userChrome.js Scripte für den Fuchs (Diskussion)

    • genetic
    • 24. Dezember 2017 um 13:21

    Tut es auch. Bei mir fiel es nur nicht auf, weil ich alle Modifikationen des Scripts, bereits über about:config gemacht hatte. Bis auf die, dass sich auch aus der URL-Leiste ein neuer Tab öffnet.

    Code
    var b_urlbar = true;
        var b_searchbar = true;
    
    
        function whereToOpenLinkMod() {
            {
        var b_bookmarks = true;
    var b_history = true;

    var b_urlbar = false musste auf true geändert werden.

    Hast Du zufällig ein Script - oder weißt, warum die existierenden nicht funktionieren, damit ein Link (auf einer Seite - z.B. auch hier)in einem neuen Tab geöffnet werden?

    OpenLinkinNewTabwithRightClick.uc.js
    OpenLinkinTab.uc.js

    funktionieren beide nicht.

  • Firefox-Anpassungen: die Basis

    • genetic
    • 24. Dezember 2017 um 13:06
    Zitat von milupo


    Beschreibe dort deine Vorgehensweise, wo du was hinkopiert hast, damit man eventuell den Fehler erkennen kann.

    Done :!:

  • userChrome.js Scripte für den Fuchs (Diskussion)

    • genetic
    • 24. Dezember 2017 um 13:05
    Zitat

    Vielleicht ist es eines, das mit Fx57 nicht funktioniert. (Wahlweise auch Mehrzahl: Skripte.)

    Genau das war das Problem. :klasse:

    Ich hatte schon von Anfang an, alle Dateien richtig verteilt, aber es tat sich nichts^. Erst als ich entnervt aufgeben wollte, habe ich als Script eine simple Message-Box ausgewählt und das hat dann funktioniert.

    Im allg. funktionieren rel. wenig Scripts mit dem aktuellen Fox (und wenn, nur die ganz neuen) - kann das sein?

  • Firefox-Anpassungen: die Basis

    • genetic
    • 23. Dezember 2017 um 19:50

    Habe einen "nackten" Port.-Fox (57) 64-bit runter geladen und die Dateien 1:1 verteilt, gewünschte Scripte in den Chrome-Ordner kopiert - und......es tut sich genau NICHTS.

    Irgendwas kann nicht stimmen...

  • userChrome.js Scripte für den Fuchs (Diskussion)

    • genetic
    • 23. Dezember 2017 um 19:13

    Tun sie aber nicht :-???

    Ist was bestimmtes beim FF57 port. 64bit zu beachten/anders?

Unterstütze uns!

Jährlich (2025)

101,9 %

101,9% (662,48 von 650 EUR)

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