Closed avalero closed 1 year ago
Hello,
When loading an epub with an external link (target=_blank) I get the following error on Firefox/Safari/Chrome console
target=_blank
Blocked opening '<URL>' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.
and the link does not open.
I have looked for a prop to configure this behaviour, but I have not found any on the RenditionOptions interface.
RenditionOptions
If I right click on the links and click "Open on a new..." it works just fine.
@avalero You need to add allowPopups, see PR from epubjs here
<ReactReader epubOptions={{ allowPopups: true }} />
Hello,
When loading an epub with an external link (
target=_blank
) I get the following error on Firefox/Safari/Chrome consoleand the link does not open.
I have looked for a prop to configure this behaviour, but I have not found any on the
RenditionOptions
interface.If I right click on the links and click "Open on a new..." it works just fine.