How To Create a Firefox Offline Mode Batch FileAugust 5, 2018 / by Marco / Categories : Business, Software, Technology, TIP AND TRICKS, website
For 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:
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
Echo LOADING WEBSITE ONLINE MODE... PLEASE WAIT ...
"C:\Program Files\Mozilla Firefox\firefox.exe" http://businesslegions.com
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.
- 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.
Limit to 5 sponsors.
OTHER ARTICLES YOU MAY LIKE
Our family has a Nintendo Switch with only the 2 Joycon controllers that came with the Switch. I decided to look at getting extra controllers but I noticed we had 2 PS3 controllers from the Sony Playstation 3. After some research, I discovered there are Bluetooth dongles that allow the PS3 controllers to connect to […]read more
I’ve started using the Google Captcha V3 on my websites and started noticing this badge appearing on the right-hand side of the website. The badge looks like this: I found this very annoying to look at so decided to find a way to remove it. The easiest way to remove it on WordPress is to […]read more