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
More and more Americans are needing to take out loans to deal with unexpected finances. Whether it be house repairs, mortgages, or hospital bills, loans are often the most practical choice. Not everybody has thousands (or tens of thousands) of dollars to deal with these financial emergencies – but thankfully, there are many trusted and […]read more
We previously talked about WPForm in this article: HOW TO CREATE GREAT LANDING PAGES IN 2020 If you’re using WPForms and also Salesforce you’re in luck. There is now a new addon which will allow you to automatically send form entries from WPForms to Salesforce CRM. Now you won’t have to manually export the data […]read more