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

Beiträge von pleassssse

  • MouseGestures goDoCommand('cmd_scrollTop')Does not work

    • pleassssse
    • 6. Mai 2025 um 10:45
    Zitat von Mira_Belle

    have you also tried the “newer” version of alice?


    https://github.com/alice0775/user…res2_e10s.uc.js

    yes ,the same problem occurs

  • MouseGestures goDoCommand('cmd_scrollTop')Does not work

    • pleassssse
    • 5. Mai 2025 um 15:19

    goDoCommand('cmd_scrollTop');
    goDoCommand("cmd_scrollBottom");

    If the tab is opened in the background, these two commands may not take effect and you need to select the text to take effect. Why this happened

    I have tried both the zip file and alice0775's two, and both have the same problem

    userChrome.js/137/MouseGestures2_e10s.uc.js at master · alice0775/userChrome.js
    Contribute to alice0775/userChrome.js development by creating an account on GitHub.
    github.com

    Dateien

    MouseGestures.uc.zip 3,52 kB – 30 Downloads
  • userChrome.js Scripte für den Fuchs (Diskussion)

    • pleassssse
    • 24. Juli 2024 um 13:37
    Zitat von Endor

    Hi pleassssse
    I am not sure, is this Script used to change the new Tab url?
    If yes, here another version:

    Code
    // ==UserScript==
    // @name          NewTabUrl.uc.js
    // @namespace     https://egg.5ch.net/test/read.cgi/software/1710343177/
    // @description   NewTabUrl
    // @include       main
    // @author        Mozilla Firefox 
    // @compatibility 126+
    // @version       2024/05/27 22:00
    // ==/UserScript==
    (function() {
      let func = BrowserCommands.openTab.toString();
    
      func = func.replace(
      'url ??= BROWSER_NEW_TAB_URL;',
      'url ??= "https://www.camp-firefox.de/forum";'  //change url to your needs
      );
    
      BrowserCommands.openTab = new Function(
        func.match(/\(([^)]*)/)[1],
        func.replace(/[^)]*/, '').replace(/[^{]*/, '').replace(/^{/, '').replace(/}\s*$/, '')
      );
    })();
    Alles anzeigen

    Mfg.
    Endor

    Thanks Does not work on about:newtab

    But I changed it according to this script


    (function() {
     let func = BrowserCommands.home.toString();

     func = func.replace(
       'gBrowser?.selectedTab.pinned || gBrowser?.selectedTab.hidden',
       'gBrowser?.selectedTab.pinned || gBrowser?.selectedTab.hidden || "about:newtab"'
     );

     BrowserCommands.home = new Function(
       func.match(/\(([^)]*)/)[1],
       func.replace(/^[^{]*{/, '').replace(/}\s*$/, '')
     );
    })();

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

    • pleassssse
    • 19. Juli 2024 um 08:54

    ff128+ Home page cannot be opened in a new tab,Is there anyone who can help?

    JavaScript
    (function() {
         
       try {
           eval("BrowserHome = " + BrowserCommands.home.toString()
               .replace(/switch \(where\) {/, "where = (gBrowser.currentURI.spec!="+"'about:blank' && gBrowser.currentURI.spec!="+"'about:newtab' || gBrowser.webProgress.isLoadingDocument"+") ? 'tab' : 'current'; [        DISCUZ_CODE_0        ]amp;"));
       }catch(e){}
    })();
  • userChrome.js Scripte für den Fuchs (Diskussion)

    • pleassssse
    • 8. Mai 2024 um 00:59

    firefox126hint: TypeError : reloadTab.getAttribute(...) is null

    Please help me fix it

        location.href.startsWith('chrome://browser/content/browser.x') && (() => {
           const reloadTab = document.getElementById('context_reloadTab');
           if(!reloadTab) return;
           const menuitem = document.createXULElement('menuitem');
           menuitem.setAttribute('accesskey', 'A');
           menuitem.setAttribute('label', reloadTab.getAttribute('label')
               .startsWith('Reload') ? 'Reload All Tabs' : '刷新所有标签页'
           );
           menuitem.addEventListener('command', () => {
               gBrowser.visibleTabs.forEach(tab => {
                   try {
                       gBrowser.getBrowserForTab(tab).reload();
                   } catch (e) {}
               });
           });
           reloadTab.after(menuitem);
       })();

Unterstütze uns!

Jährlich (2025)

67,1 %

67,1% (435,86 von 650 EUR)

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