-
Notifications
You must be signed in to change notification settings - Fork 28
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
Firefox requires confirmation every time after 2.0.2 update for local files #105
Comments
Hi! Yeah there is a check box, both in the add-on preferences and on the update on-boarding page that opens when you update. In the options it’s the one called “Inject javascript directly in local markdown files” The page is meant as the default way to open local pages as it avoids the download-as-attachment issue. To quickly confirm the access on this page you can simply click on the displayed path to copy it, then click on the line below to open the prompt, and paste the path you just copied. It’s the lowest overhead way that works with the limitations of Firefox (can’t access local files from extension, downloads md files as attachment, etc.) |
I don't want to sound harsh, but this is neither a solution nor an explanation ... I love your add-on, but sadly there will be no future use if I need to click a dozen UI items to get a rendered view (cmdline and serverless documentation) what happened? is there a major change in firefox that led to your latest update? are there other ad-ons that can help to bypass this behavior? if this was a decision from firefox, I would like to let them know what I think about it 💩 (although usually they have very good reasons) thank you anyway for spending so much time on this awesome add-on |
The "GitLab Markdown Viewer" (https://github.com/painyeph/GitLabMarkdownViewer) still works without confirmation, so there must be a way to do it. |
Agreed. I had the latest Firefox & this extension worked, then got the latest update to this extension & it broke. This is an extension issue not a Firefox issue. Also, the behavior is the same whether that box is checked or not... the comment under that box that you only need to do it the first time for each file, is also wrong, you need to do it every time. And it doesn't use the style sheet or load images, whether that option is checked or not... I have local links colored differently |
There has always been this issue, there was a whole paragraph in the README about workarounds (which did not always work for everyone, see #93, add-on ratings, etc.). It doesn’t affect you on some systems, such as e.g. Windows.
It’s 2 clicks + ctrl-v + enter, that enable people who couldn’t get a rendered view to get it. And should have stayed 0 for people who could get it already. I’ve tried it for a while and it seemed quite easy to use, but if you have any improvement suggestions on how to streamline the prompt process I’m definitely open.
That’s a bug... though it does work for me, so I’m not sure what happens. I’ve taken v2.0.2 offline so it doesn’t affect too many people. I’ll try again and ensure the page is disabled by default next time. Sorry about that.
You can refresh the file in the same tab without having to re-prompt. I’ll clarify that too. |
Note that this page was always supposed to be optional, as mentioned above! Reopening as the bug seems to be: disabling the confirmation page doesn’t work. |
@polirritmico did the checkbox work for you? |
I had already deinstalled the add-on. Now after re-installing it I no longer see the purple confirmation page, markdown from local file://... URL renders fine. |
From today it started asking every time, "Inject javascript" was already checked. I saw @Ma-Ba's comment so clicked "Check for Updates" - none were found. So I tried removing it and reinstalling it like Ma-Ba said, and not only is it working now but its options screen is very different. The options screen is much tidier, has a version "1.8.1" when it did not show a version before, the "Inject javascript" checkbox option is gone etc. Perhaps we were running an old version and something broke with the automatic update / Check for Updates? |
1.8.1 is the previous version yes, I’ve removed the 2.0.2 version from addons.mozilla.org as it was buggy. Simply hoping the people who had installed it had some hints on what to fix. |
I'm on a mac currently, the string in my clipboard is "file:///Users/seagull/path/file.md". AFAIK there is no simple pasting in finder. only the "Go to" dialog. which can't handle the "file://" part... but anyway I have an index.html with a link list of all my markdown files. opening one of the files via index.html and "Inject javascript directly in local markdown files" not checked
parent process browser console - multiprocess
checked
once again just for clarification the URLs are:
system
hope this helps |
Disabling |
Hi. After the 2.0.2 update I get this screen every time I open a file through the command line:
/usr/bin/firefox-bin /path/to/my_file.md
Is there any way to avoid this? It completely breaks my use case for this plugin.
Thanks!
Firefox Version: 114.0.2 (64-bit)
Operating System: Gentoo Linux 2.13
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.1.31-gentoo (64-bit)
Graphics Platform: X11
The text was updated successfully, but these errors were encountered: