Chrome에서 '새 탭' 링크가 새 탭과 함께 (불필요하게) 다운로드 모달도 열립니다

This is regarding the links to pdfs generated by this TC:

If New Tab is chosen in the TC settings (or a space placed before the filename within the square brackets), then the link does both of these things:

  1. Opens a new tab with the pdf for direct viewing (the desired behaviour)

  2. Opens the device’s download modal (very unhelpful)

Demo Video

This was demonstrated using Chrome via ChromeOS. I’ll test it on other browsers shortly.

2개의 좋아요

Can’t reproduce it on Windows 11, Edge 126.0.2592.87 (Chrominum 126.0.6478.127) :thinking:

The bug does exist. My Edge is too smart that helped me block this unnecessary downloads. :innocent:

1개의 좋아요

This PR should fix this bug:

https://github.com/discourse/discourse-pdf-previews/pull/21

4개의 좋아요

This topic was automatically closed after 2 days. New replies are no longer allowed.