It downloads Firefox 56.0.2 from the official Mozilla archive, extracts it, and creates a portable launcher with a custom profile folder — no installation required, fully self-contained.
<# .SYNOPSIS Downloads and sets up Firefox Portable 56.0.2 (classic add-ons support) .DESCRIPTION This script fetches Firefox 56.0.2 from Mozilla's archive, extracts it into a portable folder, creates a dedicated profile directory, and builds a launcher script to run it without touching the system registry or default user profile. .NOTES Author: AI Assistant Version: 1.0 No admin rights required. #> firefox portable 56
This script gives you a fully portable, update‑disabled Firefox 56 ready for legacy extensions. It downloads Firefox 56
Write-Host "[5/5] Creating default preferences (disable updates, portable-friendly)..." -ForegroundColor Yellow $PrefsFile = "$ProfileDir\user.js" $PrefsContent = @" // Firefox Portable 56 - custom preferences user_pref("app.update.enabled", false); user_pref("browser.search.update", false); user_pref("extensions.update.enabled", false); user_pref("extensions.update.autoUpdateDefault", false); user_pref("browser.shell.checkDefaultBrowser", false); user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("browser.rights.3.shown", true); user_pref("browser.download.useDownloadDir", true); user_pref("browser.download.folderList", 2); // custom download folder? set 2 for last used "@ Set-Content -Path $PrefsFile -Value $PrefsContent -Encoding Ascii #> This script gives you a fully portable,
$ErrorActionPreference = "Stop"