Etiqueta: firefox

  • Configurar Políticas en Firefox [Entorno Escolar – Linux Mint]

    Configurar Políticas en Firefox [Entorno Escolar – Linux Mint]

    En Linux Mint, Firefox lee sus políticas desde:

    • /usr/lib/firefox/distribution/policies.json (Paquete oficial de Mozilla/Debian/Ubuntu)
    • /etc/firefox/policies/policies.json (según la build)

    El código adjunto configura lo siguiente:

    • URL predeterminada (Google) y bloqueada
    • Motor de búsqueda predeterminado (Google)
    • Bloquear acceso a configuración
    • Dehabilitar sincronización, telemetría y Pocket
    • Modo Privado deshabilitado
    • Idioma fijo es-CL y no ofrecer traducción.
    • Se mantiene el historial pero se borran cookies/sesiones al cerrar navegador
    • Instala Adguard Adblocker y bloquea el resto
    • Cuentas / Contraseñas deshabilitadas
    • Tema Oscuro fijo y sin fondos en la nueva pestaña

     

          { "policies": {
            "Homepage": { "URL": "https://www.google.com", "Locked": true, "StartPage": "homepage" },
            "SearchEngines": { "Default": "Google", "PreventInstalls": true },
            "FirefoxHome": { "Locked": true },
            "Preferences": {
              "browser.search.region": { "Value": "CL", "Status": "locked" },
    
              /* --- IDIOMA --- */
              "intl.locale.requested": { "Value": "es-CL", "Status": "locked" },
    
              /* --- MODO OSCURO --- */
              "extensions.activeThemeID": { "Value": "firefox-compact-dark@mozilla.org", "Status": "locked" },
              "ui.systemUsesDarkTheme": { "Value": 1, "Status": "locked" },
              "browser.theme.dark-private-windows": { "Value": true, "Status": "locked" },
    
              /* --- TRADUCCIONES --- */
              "browser.translations.automaticallyPopup": { "Value": false, "Status": "locked" },
              "browser.translations.panelShown": { "Value": false, "Status": "locked" },
              "browser.translations.enable": { "Value": false, "Status": "locked" },
    
              /* --- FONDOS --- */
              "browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled": { "Value": false, "Status": "locked" },
              "browser.newtabpage.activity-stream.newTabWallpapers": { "Value": false, "Status": "locked" },
    
              /* --- SESIONES Y CONTRASEÑAS --- */
              "signon.rememberSignons": { "Value": false, "Status": "locked" },
              "signon.autofillForms": { "Value": false, "Status": "locked" },
              "signon.generation.enabled": { "Value": false, "Status": "locked" },
              "signon.management.page.fileImport.enabled": { "Value": false, "Status": "locked" },
    
              /* Cookies y sesiones borradas, historial conservado */
              "privacy.sanitize.sanitizeOnShutdown": { "Value": true, "Status": "locked" },
              "privacy.clearOnShutdown.cache": { "Value": true, "Status": "locked" },
              "privacy.clearOnShutdown.cookies": { "Value": true, "Status": "locked" },
              "privacy.clearOnShutdown.offlineApps": { "Value": true, "Status": "locked" },
              "privacy.clearOnShutdown.history": { "Value": false, "Status": "locked" },
              "privacy.clearOnShutdown.downloads": { "Value": false, "Status": "locked" },
              "privacy.clearOnShutdown.formdata": { "Value": true, "Status": "locked" },
              "privacy.clearOnShutdown.sessions": { "Value": true, "Status": "locked" },
    
              "browser.startup.page": { "Value": 1, "Status": "locked" },
              "browser.sessionstore.resume_from_crash": { "Value": false, "Status": "locked" },
              "browser.sessionstore.max_resumed_crashes": { "Value": 0, "Status": "locked" },
              "browser.sessionstore.restore_on_demand": { "Value": false, "Status": "locked" },
    
              "network.trr.mode": { "Value": 5, "Status": "locked" }
            },
            "ExtensionSettings": {
              "adguardadblocker@adguard.com": {
                "installation_mode": "force_installed",
                "install_url": "https://addons.mozilla.org/firefox/downloads/latest/adguard-adblocker/latest.xpi"
              },
              "*": { "installation_mode": "blocked" }
            },
            "BlockAboutAddons": true,
            "BlockAboutConfig": true,
            "DisablePrivateBrowsing": true,
            "DisableFirefoxAccounts": true,
            "DisableTelemetry": true,
            "DisablePocket": true
          } }
    

    Pega su contenido en archivo policies.json y coloca en directorios indicados previamente. (A mí me funcionó en /etc/firefox/policies)