Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local file bookmarks do not open when clicked. #65

Closed
KeelyHill opened this issue Feb 7, 2020 · 5 comments
Closed

Local file bookmarks do not open when clicked. #65

KeelyHill opened this issue Feb 7, 2020 · 5 comments

Comments

@KeelyHill
Copy link

Example: I have a local folder (or file) bookmarked. file:///home/user/Documents/PDFLinks/, clicking on it from the Perfect Home new tab does nothing. Opening from standard bookmarks bar works fine. The thumbnail just says "undefined".

Am I doing something wrong, or is this a bug? Thanks.

@tborychowski
Copy link
Member

Looks like a bug. Let me have a look.

@tborychowski tborychowski added this to Backlog in Backlog via automation Feb 7, 2020
@tborychowski tborychowski moved this from Backlog to Next Up in Backlog Feb 7, 2020
@tborychowski
Copy link
Member

looks like this is prevented for security reasons...
https://bugzilla.mozilla.org/show_bug.cgi?id=995943

@tborychowski
Copy link
Member

adding these properties manually in about:config fixes the problem:

  • capability.policy.policynames set to localfilelinks
  • capability.policy.localfilelinks.checkloaduri.enabled set to allAccess
  • capability.policy.localfilelinks.sites set to moz-extension://ae713ee4-9617-1948-ae55-cefc81ae55f1/index.html (the long ID number is the ID of this extension)

@tborychowski
Copy link
Member

Unfortunately this doesn't seem to be fixable (at least not without hacking) so I'm gonna add a FAQ item with the above workaround and some popup (when you click a local link) to explain why it doesn't work and what to do.

tborychowski pushed a commit that referenced this issue Feb 18, 2020
@tborychowski tborychowski moved this from Next Up to Done in Backlog Feb 18, 2020
@KeelyHill
Copy link
Author

KeelyHill commented Feb 18, 2020

Thanks for looking into this! The work around (and popup) worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Backlog
  
Done
Development

No branches or pull requests

2 participants