Juneau Lim13,361 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,191 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?