aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinwei Zhao <[email protected]>2016-09-07 10:26:41 +0800
committerJinwei Zhao <[email protected]>2017-01-13 15:07:46 +0800
commit8433131c1d6a293290257e92e60cbaef5b2c0f5b (patch)
tree472cba674d5b0a4d034c7a5912e72e9fedb56e45 /deprecated/jinweiclarkchao.github.io/assets/stuff.js
parentabb7ef076dc265e099eaf1277cbea6f2e6f43805 (diff)
downloadjinwei.me-8433131c1d6a293290257e92e60cbaef5b2c0f5b.tar.gz
fix Target="_blank" https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/
Diffstat (limited to 'deprecated/jinweiclarkchao.github.io/assets/stuff.js')
-rw-r--r--deprecated/jinweiclarkchao.github.io/assets/stuff.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deprecated/jinweiclarkchao.github.io/assets/stuff.js b/deprecated/jinweiclarkchao.github.io/assets/stuff.js
index a1c8ebc..bddb1aa 100644
--- a/deprecated/jinweiclarkchao.github.io/assets/stuff.js
+++ b/deprecated/jinweiclarkchao.github.io/assets/stuff.js
@@ -29,6 +29,6 @@ putImages = function(pics) {
29 pic = pics[Math.floor(Math.random() * pics.length)]; 29 pic = pics[Math.floor(Math.random() * pics.length)];
30 box = $(".instagram"); 30 box = $(".instagram");
31 box.html(""); 31 box.html("");
32 box.append("<a target='_blank' href='" + pic.link + "' class=img><img src='" + pic.images.low_resolution.url + "'></div>"); 32 box.append("<a target='_blank' rel='noopener noreferrer' href='" + pic.link + "' class=img><img src='" + pic.images.low_resolution.url + "'></div>");
33 return load(); 33 return load();
34}; 34};
Powered by cgit v1.2.3 (git 2.41.0)