強制網站點擊圖片會直接下載 放在header scripts即可
也可以更改程式副檔名
<script>
jQuery(function($) {
$('a[href$=".jpg"]').attr("download","");
});
</script>
<script>
jQuery(function($) {
$('a[href$=".png"]').attr("download","");
});
</script>
強制網站點擊圖片會直接下載 放在header scripts即可
也可以更改程式副檔名
<script>
jQuery(function($) {
$('a[href$=".jpg"]').attr("download","");
});
</script>
<script>
jQuery(function($) {
$('a[href$=".png"]').attr("download","");
});
</script>