stoically / temporary-containers

Firefox Add-on that lets you open automatically managed disposable containers
https://addons.mozilla.org/firefox/addon/temporary-containers/
MIT License
852 stars 60 forks source link

Load local files (i.e. file://) in automatic mode #430

Closed theojepsen closed 4 years ago

theojepsen commented 4 years ago

I have automatic mode enabled. When I load a page from the command line, e.g.,

firefox http://example.com

it opens in a new temporary container, as expected. However, if the URL is a local file, e.g.

firefox doc/index.html

it does not open in a temporary container. Is there a way to force local files (i.e. with the file:// URL) to open in a temporary container, instead of the default container?

stoically commented 4 years ago

It's an Firefox API security limitation which prevents opening tabs with file:// URLs. So AFAIK this unfortunately can't be done.

theojepsen commented 4 years ago

I was afraid it was an API issue. Oh well. Thank you!