X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

How can I use Firefox locally, preventing it from going online at all?

Kuphostiwe

For my own reasons, I want to use Firefox to view files that are local to my machine (file:///<filepath>) without connecting to the internet; but "Work Offline" seems to allow connections to go through.

I have searched for solutions on the web, but they either discuss blocking only certain resources or certain websites. That's not what I want; I want Firefox to stay completely offline when I'm working with my files.

Is there a way to do that?

For my own reasons, I want to use Firefox to view files that are local to my machine (file:///<filepath>) without connecting to the internet; but "Work Offline" seems to allow connections to go through. I have searched for solutions on the web, but they either discuss blocking only certain resources or certain websites. That's not what I want; I want Firefox to stay completely offline when I'm working with my files. Is there a way to do that?

Eminye Imininingwane Yohlelo

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Eminye Imininingwane

FredMcD
  • Top 10 Contributor
4259 izisombululo 59636 izimpendulo
Kuphostiwe

Press Alt or F10 to bring up the toolbar. Menu > File > OffLine

Press '''Alt''' or '''F10''' to bring up the toolbar. '''Menu > File > OffLine'''

Umnikazi wombuzo

No, that doesn't work. Even though the "Work Offline" option is checked (as it is right now as I send this response), Firefox still opens pages from the internet, e.g. this Mozilla Support page. I don't understand just what the "Work Offline" option does, but it certainly doesn't block Firefox from using an existing internet connection; perhaps it's intended to allow one to access local resources when there is no internet connection, but not to prevent access when there is one?

No, that doesn't work. Even though the "Work Offline" option is checked (as it is right now as I send this response), Firefox still opens pages from the internet, e.g. this Mozilla Support page. I don't understand just what the "Work Offline" option does, but it certainly doesn't block Firefox from using an existing internet connection; perhaps it's intended to allow one to access local resources when there is no internet connection, but not to prevent access when there is one?
FredMcD
  • Top 10 Contributor
4259 izisombululo 59636 izimpendulo
Kuphostiwe

That is strange. Open your Firewall. Find the Firefox entry and block it. Not remove, block.

That is strange. Open your Firewall. Find the Firefox entry and block it. Not remove, block.

Umnikazi wombuzo

There are no rules in my iptables that mention Firefox.

There are no rules in my iptables that mention Firefox.
PavelkoT 4 izisombululo 96 izimpendulo
Kuphostiwe

jlturriff said

No, that doesn't work. Even though the "Work Offline" option is checked (as it is right now as I send this response), Firefox still opens pages from the internet, e.g. this Mozilla Support page.

Opens any page? Even https://whatcanidoformozilla.org/ (don't click while online)?

''jlturriff [[#answer-1113783|said]]'' <blockquote> No, that doesn't work. Even though the "Work Offline" option is checked (as it is right now as I send this response), Firefox still opens pages from the internet, e.g. this Mozilla Support page. </blockquote> Opens any page? Even https://whatcanidoformozilla.org/ (don't click while online)?

Umnikazi wombuzo

That's right, even that page opens while "Work Offline" is checked.

That's right, even that page opens while "Work Offline" is checked.
cor-el
  • Top 10 Contributor
  • Moderator
17539 izisombululo 158588 izimpendulo
Kuphostiwe

Are you sure that the page isn't loaded from the cache?

Can you reload the page (Ctrl+R or Shift+Ctrl+R)?

Can you confirm that actually network traffic leaves the computer?

Are you sure that the page isn't loaded from the cache? Can you reload the page (Ctrl+R or Shift+Ctrl+R)? Can you confirm that actually network traffic leaves the computer? *https://developer.mozilla.org/en/Tools/Network_Monitor

Umnikazi wombuzo

I verified that "Work Offline" is in fact checked before I performed these checks.

"Are you sure that the page isn't loaded from the cache?" Yes. I cleared the cache, but even with "Work Offline" checked, pages load from the network.

"Can you reload the page (Ctrl+R or Shift+Ctrl+R)?" Yes. and I can see messages at the bottom of the window about connecting, waiting, etc.

"Can you confirm that actually network traffic leaves the computer?" Yes; according to your network monitor, traffic is moving across my network interface.

I verified that "Work Offline" is in fact checked before I performed these checks. "Are you sure that the page isn't loaded from the cache?" Yes. I cleared the cache, but even with "Work Offline" checked, pages load from the network. "Can you reload the page (Ctrl+R or Shift+Ctrl+R)?" Yes. and I can see messages at the bottom of the window about connecting, waiting, etc. "Can you confirm that actually network traffic leaves the computer?" Yes; according to your network monitor, traffic is moving across my network interface.
FredMcD
  • Top 10 Contributor
4259 izisombululo 59636 izimpendulo
Kuphostiwe

Is your computer plugged into a phone line or are you using a modem/WiFi? You can unplug them for the same offline result until this issue is solved.

Is your computer plugged into a phone line or are you using a modem/WiFi? You can unplug them for the same offline result until this issue is solved.

Umnikazi wombuzo

I am using an Ethernet connection to connect via router to my satellite transceiver. To dis/reconnect the cable I will have to continually crawl around behind/under various pieces of furniture; not at all convenient.

I get the impression that Work Offline is not intended to enforce offlineness as much as to allow web apps to work while the network is unavailable, the opposite of what I am trying to do?

I am using an Ethernet connection to connect via router to my satellite transceiver. To dis/reconnect the cable I will have to continually crawl around behind/under various pieces of furniture; not at all convenient. I get the impression that Work Offline is not intended to enforce offlineness as much as to allow web apps to work while the network is unavailable, the opposite of what I am trying to do?
FredMcD
  • Top 10 Contributor
4259 izisombululo 59636 izimpendulo
Kuphostiwe

OffLine means the browser should not connect to the outside world. I checked my Firefox (v54) and offline does work.

I also checked my v59.0.2 and offline works.

OffLine means the browser should not connect to the outside world. I checked my Firefox (v54) and offline does work. I also checked my v59.0.2 and offline works.

Umnikazi wombuzo

The attachment shows what I'm running. It definitely does Not prevent connections to the outside world. Is it possible that there's something in about:config that could be related to this?

The attachment shows what I'm running. It definitely does Not prevent connections to the outside world. Is it possible that there's something in about:config that could be related to this?