Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
support for file:///path/to/file needed #2
I could not get the addon to open URLs of the type file:///path/to/file, which is what I need it for :).
I'm adding this issue here after adding it yesterday in the old/dead code location BulkURLOpener-Firefox and getting a response there. The old repository was just archived yesterday so I guess this is the right place to revive the issue, hopefully, with some additional info that may help find a viable solution.
It should be easy to fix for Chrome Browser but with Firefox it may only work if an <input> element is used to create the input list of URLs, as explained in
Do you think there may exist a solution based in using <input>?
Thanks for letting me know about the issues yestarday in the old repo, that one is now archived as the two previously separate code-bases have no been merged into one.
I will look into the Chrome implementation of this feature tomorrow, as you say it should be possible as Chrome is less restrictive with APIs when compared to Firefox.
And thanks for providing the Firefox web api workaround, which I will also look into, and if it provides a stable solution to the issue I will implement it for the project.
I did some research into the issue you've mentioned, and I have not been able to find a solution that would be viable for this extension.
Both Chrome and Firefox appear to block opening of file:// resources from a script (for good reason). And any potential workarounds I found would not work in this extension or would not be stable. For example the workaround that you provided, it would be a little complex to implement especially when a user would be opening several file:// urls at one time.
Thanks again for letting me know about this issue, I will leave this issue open so that if there are any solutions which would make this feature possible I will implement them.