§
Pubblicato: 22/07/2016
Modificato: 08/02/2017

delete

delete

§
Pubblicato: 24/07/2016

A script can inspect the href of links in a page and add a target="_blank" attribute if the file extension is recognized as a typical image file extension.

Obviously different URLs can be more or less difficult to read, and scripts in the page may bypass the default behavior of following the target attribute. So the success of the above method may vary from site to site. Is there a particular site where you want this?

Pubblica risposta

Accedi per pubblicare una risposta.

长期地址
遇到问题?请前往 GitHub 提 Issues。