I want to delay a link load to an attached PDF that opens in a new window tab.So I added this js code snippet to the project’s custom code:
The link to the pdf attachment:
This works fine but the PDF will open in the same tab and closing the webpage. If I choose to open the link in a new tab the browser will block it and show “about:blank#blocked”
Anyone maybe a workaround that?