kintesh / containerise

Firefox extension to automatically open websites in a container
MIT License
415 stars 53 forks source link

Default container breaks view page source #160

Open mook-as opened 3 years ago

mook-as commented 3 years ago

It appears that using the default container functionality breaks view source.

Steps to reproduce:

  1. Set the default container to use a ~{domain}.{tld} container name.
  2. Go to https://example.com/
  3. Open Tools -> Browser Tools -> View Source

Expected results: Source window opens, in the ~example.com container.

Actual results: The tab reloads, end up at the site rather than viewing the source.

Additional information: I think this is happening because the default container logic thinks view-source is the host name, as the URL becomes view-source:https://example.com/.

geeknik commented 3 years ago

This happens regardless of the default container's name. The view source tab opens and then closes.

c0001 commented 9 months ago

In my experiment, disable default container option can solve this collision.