tim-we / tabs-aside

A session/tab manager web extension for Firefox based on the Microsoft Edge feature.
https://addons.mozilla.org/firefox/addon/tabs-aside/
GNU General Public License v3.0
88 stars 10 forks source link

Doesn't support "file:///" tabs #110

Closed irvnriir closed 3 years ago

irvnriir commented 3 years ago

If that doesn't require more Permissions, i think it should work for such tabs as for any other .

tim-we commented 3 years ago

Unfortunately it is not possible: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/create

For security reasons, in Firefox, this may not be a privileged URL. So passing any of the following URLs will fail: [...]

  • file: URLs (i.e., files on the filesystem. However, to use a file packaged inside the extension, see below)

Just in case I wrote a small test extension to verify this: local_file_access_test-1.0.zip

I wish there was a special permission for this but right now there isn't. Let me know if I missed anything, otherwise please close this issue.