kintesh / containerise

Firefox extension to automatically open websites in a container
MIT License
411 stars 55 forks source link

Ignore URLs not supported by tabs.create #104

Closed LoveIsGrief closed 4 years ago

LoveIsGrief commented 4 years ago

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/create

Passing any of the following URLs will fail:

  • chrome: URLs
  • javascript: URLs
  • data: URLs
  • file: URLs (i.e., files on the filesystem. However, to use a file packaged inside the extension, see below) privileged about: URLs (for example, about:config, about:addons, about:debugging). Non-privileged URLs (e.g., about:blank) are allowed.
  • The New Tab page (about:newtab) can be opened if no value for URL is provided.

Closes #103