After Firefox update, local file URLs in tab groups become non-functional
Whenever Firefox is updated, the URLs in the non-active tab groups which are pointing to the local files become non-functional to the addition of the below prefix
moz-extension://040e3b87-e9ac-43dc-9e7f-9f8f14464357/help/stg-unsupported-url.html#
This causes the original links to be altered and not displayed on the browser anymore. If the above portion is manually deleted and page is refreshed, the view is restored. However, this is painful to repeat for all the tabs manually and this is not the desired behavior. The addition of the extension prefix to the URL must be stopped.
To Reproduce Steps to reproduce the behavior:
- Create a tab group with local files open on the browser
- Upgrade Firefox
- Go to the same tab group
- There is prefix added to the URL which prevents the files to reload
Expected behavior The original links must be preserved after Firefox update.
Screenshots
Desktop (please complete the following information):
- OS and version: Mac Latest
- Firefox version: Latest
- Simple Tab Groups version: Latest
This is a Firefox limitation / restriction for security reasons. ~~It shouldn't have anything to do with upgrading Firefox at all, just any scenario where the local file tab gets unloaded, STG will not be able to create that tab again.~~
Edit: In quite a lot of scenarios the existing tabs that point to local files are known to Firefox itself and thus can be handled properly, since STG just controls the visibility of the existing tab. But as soon as STG needs to "restore" a tab (with the create() function, that doesn't exist in Firefox, but is merely known in STG's data structures, it can't be done due to the restrictions for Webextensions.
Admittedly, I'm not exactly sure what all the different scenarios are, but restoring from an STG backup is one scenario for sure. Maybe a browser update also leads to a similar technical scenario.
See also: https://github.com/Drive4ik/simple-tab-groups/issues/811 https://github.com/Drive4ik/simple-tab-groups/issues/948 #1239
@bounlu There is a "Copy URL" button on that window and you don't have to manually copy and edit anything...
Do you have that checkbox turned on?