Juneau Lim11,213 Points
target _blank & download not working
const $odd = $('a:odd'); const $secureLinks = $('a[href^="https://"]') const $pdfs = $('a[href$=".pdf"]') $secureLinks.attr('target','_blank'); $pdfs.attr('download', true);
Have no idea why. :-( I'm using chrome and cleared cash.
Kristaps Vecvagars6,185 Points
Changing settings in Chrome activated the download feature, however, it seems the download attribute has no bearing on the behavior, at least for .pdf files. Is this true or not?