mdview icon indicating copy to clipboard operation
mdview copied to clipboard

Content is blocked. CIick here to unblock аll blocked elements

Open ipwin-github opened this issue 1 year ago • 2 comments

When opening files, a warning "Content is blocked. CIick here to unblock аll blocked elements" often appears. Clicking on it every time or using a keyboard shortcut is quite tedious. Is it possible to add an option to the settings so that all content in such files opens automatically, without a warning? Something like "Automatically open blocked content".

ipwin-github avatar Apr 16 '25 16:04 ipwin-github

Thank you for taking the time to file this issue!

I'll add these settings. I'll think about how to implement which checkboxes and so on exactly.

Do you really want a setting to load just anything from the internet? If yes, I'd add a "not recommended" and some explanation to that checkbox. Reasoning: it was a conscious choice to not load anything from the internet by default. I cannot exclude that there are some Markdown files out there that attempt tracking or even something maliciously.

c3er avatar Apr 16 '25 16:04 c3er

Yes, I understand that there is some danger when downloading content in Markdown files. But I mostly use the same files, and downloaded from sources that I trust. Warning is "not recommended", of course, it is necessary. So that each user knows that if he needs this option, he uses it at his own risk.

ipwin-github avatar Apr 17 '25 21:04 ipwin-github

I just released version 4.0.0.

The application settings contains now a checkbox for never blocking any content from the internet.

It took a while, because, I didn't want to add such an option without offering some alternative. It is now possible to remember unblocked images, so the banner may not reappear for already known files.

c3er avatar Dec 19 '25 23:12 c3er