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

Beiträge von AdminFox

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 22. September 2018 um 15:43

    Jetzt habe ich den Code von 2002Andreas da eingefügt auch das geht nicht.

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 22. September 2018 um 15:37

    2002Andreas Unter Ubuntu sind die gleichen Dateien wie in Windows 10 die ganzen Dateien sind nur aus diesem Forum.

    Das in meiner userChrome.js stehen falsche Daten? wenn bei Dir was anderes steht.

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 22. September 2018 um 15:30

    Dort steht C:\Program Files\Mozilla Firefox\firefox.exe" Ausführen in C:\Program Files\Mozilla Firefox

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 22. September 2018 um 15:28

    milupo hier ist der Inhalt der userChrome.js.

    Code
    /*
     * userChromeJS
     *
     * The file userChrome.js can be used to customize the functioning of Mozilla's
     * user interface. Usage and syntax follow below; for useful code snippets see
     * http://mozilla.zeniko.ch/userchrome.js.html.
     *
     * Examples:
     * setTimeout(function() { document.title = "A new title for every window" }, 2000);
     *
     * if (location == "chrome://browser/content/browser.xul") {
     *   alert("Script loaded in main browser only");
     * }
     *
     * // DOMi window
     * if (location == "chrome://inspector/content/inspector.xul") {
     *    // Move Urlbar box to main toolbar
     *    var tb = document.getElementById('bxURLBar');
     *    var el = document.getElementById('mbrInspectorMain');
     *    if (tb && el) el.appendChild(tb, el.firstChild);
     * }
     *
     * NOTE:
     * userChromeJS includes an 'import' function to facilitate file management.
     * An absolute path or relative path with Directory name property token can be
     * used, as follows:
     *
     * // Single file (javascript .js or overlay .xul file)
     * userChrome.import("Full file path");
     * userChrome.import("Relative file path", "Token");
     * // All .js and .xul files in a folder will be loaded.
     * userChrome.import("Full file folder path");
     * userChrome.import("Relative file folder path/name", "Token");
     * userChrome.import("*", "Token");
     *
     * NOTE:
     * Absolute windows files and folders must be have backslash escaped:
     * "C:\\Program Files\\Mozilla\\scripts\\myscript.js"
     *
     * Examples:
     * // Import script in [ProfileDir]/chrome/scripts/myscript.js
     * userChrome.import("scripts/myscript.js", "UChrm");
     * // Import script in [Profiles]/scripts/myscript.js (share same script in
     * // multiple profiles
     * userChrome.import("scripts/myscript.js", "DefProfRt");
     * // All .js or .xul in profile chrome directory
     * userChrome.import("*", "UChrm");
     * // Import overlay
     * userChrome.import("C:\\Program Files\\Mozilla\\scripts\\myOverlay.xul");
     * // Import everything in Desktop folder /scripts
     * userChrome.import("scripts", "Desk");
     * // Perhaps the only thing you need in this file..
     * if (location == "chrome://browser/content/browser.xul") {
     *  userChrome.import("scripts", "DefProfRt");
     * }
     *
     * NOTE:
     * For a full listing of directory tokens see the two links found here:
     * https://developer.mozilla.org/en-US/Add-ons/Code_snippets/File_I_O#Getting_files_in_special_directories
     * // What's the path for a token? This will print it in the console.
     * userChrome.log(userChrome.getAbsoluteFile("Desk").path, "getAbsoluteFile:'Desk'");
     *
     * NOTE:
     * userChromeJS includes a log function, invoked as follows:
     * userChrome.log("string1"[, "string2"])
     * Example:
     * userChrome.log("hello world!", "myscript.js");
     * Results in a console message:
     * 2009-05-22 18:07:40 userChromeJS myscript.js: hello world!
     *
     * NOTE:
     * The date format for the userChrome.log console logger may be user defined:
     * Example:
     * userChrome.dateFormat = "%Y-%m-%d %H:%M:%S";
     *
     * NOTE:
     * The default charSet is "UTF-8"; for code using the 'import' or
     * 'importFolder' functions to manage files, the charSet for subscript loader
     * may be user defined, prior to calling the import or importFolder functions:
     * Example:
     * userChrome.charSet = "UTF-8";
     *
     * NOTE:
     * Scripts are stored in a startup cache and loaded from it.
     * After a change in userChrome.js you heve to restart Firefox with clearing
     * this cache to make sure the changed file is read.
     * By default this applies to imported .js files too. You can bypass the cache
     * for these scripts with this statement BEFORE any import statement:
     * userChrome.ignoreCache = true;
     *
     */
    Alles anzeigen
  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 22. September 2018 um 12:15

    AngelOfDarkness So jetzt habe ich ein neues Profil erstellt, gleich mehrere screenshots gemacht, eins verstehe ich nicht du sagtest kannst den korrekten Ordner nicht sehen aber der Pfad steht in der Leiste oben im Explorer, und auch unter Eigentschaften.

    1. Firefox ein mal Blanko ohne Scripte, css.

    [attachment=1]Frefox Blanko.JPG[/attachment]

    2. Firefox mit Menüleiste/Extras.

    [attachment=0]Menü.png[/attachment]

    3. Mit dem RestarFirefox Script.


    4. Mit userChrome.css


    Es hat nichts gebracht wie man auf dem Bildern sieht.

    Bilder

    • Menü.png
      • 1,11 MB
      • 2.534 × 1.501
    • Frefox Blanko.JPG
      • 317,84 kB
      • 2.536 × 1.508
  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 21. September 2018 um 17:14

    AngelOfDarkness Ich hatte den Firefox ohne userChrome.css gestartet kann man im Bild oben sehen das Firefox anders aussieht als bei dem anderem Bild, den Scripcache hatte ich auch gelöscht. Nur unter c:\Programme.

    Hier ist nun das Bild mit dem Profilnamen verstehe immer noch nicht was der damit zu tun hat.


    Boersenfeger Das habe ich bereits probiert ohne erfolg im http://Post 3 https://viewtopic.php?f=16&t=126132&start=309

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 21. September 2018 um 15:17

    AngelOfDarkness ich die Dateien durch Deine ersetzt wieder ohne erfolg, mir fehlt leider das siebte Bild weiß nicht wechels du haben möchtest. Und ich hatte nur nur mein real Namen Kaschiert im vorigen post, jetzt habe ich nur den Anfangs Buchstaben gelassen.

    1. [attachment=5]Firefox 62.jpg[/attachment]

    2. [attachment=4]about-support.JPG[/attachment]

    3. [attachment=3]chrome.JPG[/attachment]

    4. [attachment=2]Default.JPG[/attachment]

    5. [attachment=1]Prog Ordner.jpg[/attachment]

    6. [attachment=0]userChromeJS.png[/attachment]

    Bilder

    • userChromeJS.png
      • 100,61 kB
      • 2.194 × 1.192
    • Prog Ordner.jpg
      • 383,19 kB
      • 2.195 × 1.288
    • Default.JPG
      • 178,74 kB
      • 2.204 × 1.295
    • chrome.JPG
      • 201,18 kB
      • 2.196 × 1.289
    • about-support.JPG
      • 245,42 kB
      • 3.000 × 938
    • Firefox 62.jpg
      • 325,16 kB
      • 3.000 × 1.688
  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 21. September 2018 um 12:28

    AngelOfDarkness hier sind die Bilder.

    1. [attachment=4]about-support.JPG[/attachment]

    2. [attachment=3]Firefox 62.jpg[/attachment]

    3. [attachment=2]chrome.JPG[/attachment]

    4. [attachment=1]Default.JPG[/attachment]

    5. [attachment=0]main.JPG[/attachment]

    Bilder

    • main.JPG
      • 182,1 kB
      • 2.197 × 1.282
    • Default.JPG
      • 202,23 kB
      • 2.196 × 1.295
    • chrome.JPG
      • 212,5 kB
      • 2.196 × 1.295
    • Firefox 62.jpg
      • 306,12 kB
      • 3.000 × 1.688
    • about-support.JPG
      • 245,42 kB
      • 3.000 × 938
  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 21. September 2018 um 10:33

    AngelOfDarkness erst mal danke für die Mühe aber auch das hat nicht Funktioniert, die Schwebende Scrollbar taucht bei mir nicht auf siehe die Bilder.

    Selbst die geänderten Einträge zeigte keine wirkungen.

    1. [attachment=2]Firefox 62.png[/attachment]

    2. [attachment=1]main.JPG[/attachment]

    3. [attachment=0]Scrollbalken.JPG[/attachment]

    Bilder

    • Scrollbalken.JPG
      • 14,28 kB
      • 816 × 60
    • main.JPG
      • 6,24 kB
      • 914 × 42
    • Firefox 62.png
      • 527,65 kB
      • 3.000 × 1.688
  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 21. September 2018 um 08:29

    Ich hatte die neue main.js jetzt noch mal ersetzt nach mehreren versuchen es hat wieder nicht Funktioniert.

    1. [attachment=1]Main.JPG[/attachment]

    2. [attachment=0]Scrollbalken.JPG[/attachment]

    Der Balken wurde nicht smaller unter Windows 10.

    In Ubuntu Funktioniert es mit der alten main.js

    Bilder

    • Scrollbalken.JPG
      • 4,5 kB
      • 208 × 686
    • Main.JPG
      • 10,21 kB
      • 917 × 60
  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 20. September 2018 um 23:06

    Die frage ist wo der fehler sein könnte wenn beiden neuen Profilen nur ein mal Funktionierte das Script.

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 20. September 2018 um 22:44

    Jetzt hatte ich 2 neue Profile erstellt, Firefox neugestartet beim ersten Start hat es Funktioniert da war der Scrollbalken smaller aber beim nächsten Start hat es bei beiden in neuen Profilen nicht mehr Funktioniert das heißt der fehler liegt wo anders oder am Script.

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 20. September 2018 um 21:46

    Das Script FloatingScrollbar.uc.js soll bei mir den Balken Smaller machen, mir ist es ein Rätsel warum es nicht geht In Windows 10, unter Ubuntu schon.

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 20. September 2018 um 21:11

    milupo ich hatte in post #16 nur nicht unter Ansicht den Haken Dateierweiterungen gesetzt siehe jetzt das Bild was ich grad gemacht habe nun mit gesetztem Haken bei der Dateierweiterungen.

    [attachment=0]Unbenannt.JPG[/attachment]

    Bilder

    • Unbenannt.JPG
      • 8,56 kB
      • 201 × 151
  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 20. September 2018 um 20:28

    Ja, ich nutze nur das eine Script für den Scrollbalken.

    Dein Code Funktioniert nicht da wird erscheint kein Button.

    [attachment=0]Button.JPG[/attachment]

    Bilder

    • Button.JPG
      • 26,19 kB
      • 852 × 164
  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 20. September 2018 um 19:29

    Speravir ich habe den Scriptcache vor dem Neustart gelöscht, kein erfolg gehabt.

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 20. September 2018 um 18:59

    2002Andreas Ich habe den Firefox im abgesicherten Modus gestartet ohne erfolg.

    AngelOfDarkness keine Ahnung was in der main.js drin stehen hier ist mal der eintrag.

    Code
    // main.js
    
    
    /* ***** BEGIN LICENSE BLOCK *****
     * Version: MPL 1.1/GPL 2.0/LGPL 2.1
     *
     * The contents of this file are subject to the Mozilla Public License Version
     * 1.1 (the "License"); you may not use this file except in compliance with
     * the License. You may obtain a copy of the License at
     * http://www.mozilla.org/MPL/
     *
     * Software distributed under the License is distributed on an "AS IS" basis,
     * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
     * for the specific language governing rights and limitations under the
     * License.
     *
     * The Original Code is the userChrome.js component.
     *
     * The Initial Developer of the Original Code is
     * Simon Bünzli <zeniko@gmail.com>
     *
     * Portions created by the Initial Developer are Copyright (C) 2007
     * the Initial Developer. All Rights Reserved.
     *
     * Contributor(s):
     * alta88 <alta88@gmail.com>
     * aborix <www.camp-firefox.de/forum>
     *
     * Alternatively, the contents of this file may be used under the terms of
     * either the GNU General Public License Version 2 or later (the "GPL"), or
     * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
     * in which case the provisions of the GPL or the LGPL are applicable instead
     * of those above. If you wish to allow use of your version of this file only
     * under the terms of either the GPL or the LGPL, and not to allow others to
     * use your version of this file under the terms of the MPL, indicate your
     * decision by deleting the provisions above and replace them with the notice
     * and other provisions required by the GPL or the LGPL. If you do not delete
     * the provisions above, a recipient may use your version of this file under
     * the terms of any one of the MPL, the GPL or the LGPL.
     *
     * ***** END LICENSE BLOCK ***** */
    
    
    Cu.import("resource://gre/modules/FileUtils.jsm");
    
    
    let UserChrome_js = {
    
    
      init: function() {
        Services.obs.addObserver(this, "final-ui-startup", false);
      },
    
    
      // observer
      observe: function(aSubject, aTopic, aData) {
        switch (aTopic) {
          case "final-ui-startup":
            let path = OS.Constants.Path.profileDir;
            let ucFilePath = OS.Path.join(path, "chrome", "userChrome.js");
            let ucFile = new FileUtils.File(ucFilePath);
            if (!ucFile.exists()) {
              let path = OS.Path.join(ucjsDirPath, "Readme.txt");
              let readmeFile = new FileUtils.File(path);
              readmeFile.copyTo(ucFile.parent, "userChrome.js");
            };
            if (ucFile.exists() && ucFile.isFile()) {
              let path = OS.Path.join(ucjsDirPath, "utilities.js");
              this.utilFileURI = OS.Path.toFileURI(path);
              this.ucFileURI = OS.Path.toFileURI(ucFilePath);
              Services.obs.addObserver(this, "domwindowopened", false);
            };
            Services.obs.removeObserver(this, "final-ui-startup");
            break;
    
    
          case "domwindowopened":
            aSubject.addEventListener("load", this, {capture: true, once: true});
            break;
        }
      },
    
    
      // event listener for load
      handleEvent: function(aEvent) {
        let document = aEvent.originalTarget;
        let window = document.defaultView;
        if (document.location && document.location.protocol == "chrome:") {
          try {
            Services.scriptloader.loadSubScript(this.utilFileURI, window, "UTF-8");
            Services.scriptloader.loadSubScript(this.ucFileURI, window, "UTF-8");
          }
          catch (ex) {
            // script execution can be stopped with |throw "stop";|
            if (ex != "stop") {
              Cu.reportError(ex);
            }
          }
        };
      }
    
    
    };
    
    
    UserChrome_js.init();
    Alles anzeigen

    Was das Datum angeht ich nutze auch das Tool Newfiletime.

  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 20. September 2018 um 17:17

    Ich hatte den Eintrag in der config-prefs eingefügt zum dritten mal 2 mal gestern, heute hat nichts gebracht.

    [attachment=0]Unbenannt.JPG[/attachment]

    Lass Dich nicht von dem Datum irritieren im vorigen post.

    Bilder

    • Unbenannt.JPG
      • 18,76 kB
      • 820 × 150
  • Scrollleiste Script Funktioniert nicht

    • AdminFox
    • 20. September 2018 um 16:51

    2002Andreas die dateien liegen in den entsprechenden Ordner.

    1. [attachment=2]Default&amp;pref.JPG[/attachment]

    2. [attachment=1]userChromeJS.JPG[/attachment]

    3. [attachment=0]Chrome.JPG[/attachment]


    AngelOfDarkness auch das hat nicht Funktioniert.

    Bilder

    • Chrome.JPG
      • 40,34 kB
      • 1.066 × 241
    • userChromeJS.JPG
      • 19,96 kB
      • 642 × 197
    • Default&amp;pref.JPG
      • 28,15 kB
      • 1.103 × 145
  • Anleitung für Fx 62 - Scripte

    • AdminFox
    • 20. September 2018 um 16:04

    -----------------

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