How To Create a Firefox Offline Mode Batch File
August 5, 2018 / by Marco / Categories : Business, Software, Technology, TIP AND TRICKS, websiteFor those of you who don’t know, Firefox has an OFFLINE mode where you can use this to display cached content if the website is down. I’ve managed to create a little batch file that checks whether the website is down and then it loads the OFFLINE website (note you must have previously visited the website). Here’s the batch file:
@ECHO OFF ping -n 1 businesslegions.com | find "TTL" >nul: 2>nul: if not errorlevel 1 goto :firefox Echo LOADING WEBSITE IN OFFLINE MODE... PLEASE WAIT ... "C:\Program Files\Mozilla Firefox\firefox.exe" -offline http://businesslegions.com exit :firefox Echo LOADING WEBSITE ONLINE MODE... PLEASE WAIT ... "C:\Program Files\Mozilla Firefox\firefox.exe" http://businesslegions.com exit
You can download the above sample batch file here:
The other option would be to manually select OFFLINE in the Web developer but I prefer to launch this batch file when the computer starts to load a particular website.
Our Sponsors
- Advertise Me Pty Ltd
Digital Signage Solutions
- Fitness Mania
Everything to do with fitness products ranging from gym equipment, fitness clothing, protein powder and lots more.
- My Healthy App
My Healthy App curates all the best and latest mobile health apps.
OTHER ARTICLES YOU MAY LIKE

A SMALL BUTTON, A BIG MILESTONE: MY FIRST SUPER THANKS
Every creator has milestones that feel both modest and momentous. Your first upload. Your first comment. Your first subscriber. And then one day, among the usual notifications, a new one pops up: your first Super Thanks. Mine came from a generous viewer, Frank Castlenut, who left a donation of five dollars alongside a kind note. […]
read more
NEW RUNNING BELT ON TEST: FIRST IMPRESSIONS AND HONEST THOUGHTS
There’s a special kind of anticipation that comes with unboxing fresh kit, especially something as personal as a running belt. It’s the bit of gear that sits closest to you on every run, carrying your phone, keys, gels and—in this case—a water bottle, all while ideally disappearing from your awareness once you’re moving. Today’s subject […]
read more