permanote icon indicating copy to clipboard operation
permanote copied to clipboard

External links not working

Open p-jo opened this issue 8 years ago • 2 comments

I'm having problems with the links I write in markdown, I think it's because it's trying to open them in the Sandstorm iframe, so they are blocked in the browser. I get this in the console:

Refused to frame 'http://www.example.com' because it violates the following Content Security Policy directive: "frame-src https://*.myurl.sandcats.io".

p-jo avatar Feb 16 '17 13:02 p-jo

if you open in a new tab (middle click, or from menu) you can get around this. For me it's only a problem if i try to open the link in the same window as sandstorm.

rainbowjaw avatar Jul 09 '18 21:07 rainbowjaw

Yeah, that's exactly the case. Ideally, Sandstorm app packages should ensure external links are set to open in new tabs, but some are missing this fix.

ocdtrekkie avatar Jul 09 '18 21:07 ocdtrekkie