diff options
author | Jinwei Zhao <[email protected]> | 2016-09-07 10:26:41 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:46 +0800 |
commit | 8433131c1d6a293290257e92e60cbaef5b2c0f5b (patch) | |
tree | 472cba674d5b0a4d034c7a5912e72e9fedb56e45 /deprecated/jinweiclarkchao.github.io | |
parent | abb7ef076dc265e099eaf1277cbea6f2e6f43805 (diff) | |
download | jinwei.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')
-rw-r--r-- | deprecated/jinweiclarkchao.github.io/404.html | 2 | ||||
-rw-r--r-- | deprecated/jinweiclarkchao.github.io/assets/stuff.js | 2 | ||||
-rw-r--r-- | deprecated/jinweiclarkchao.github.io/index.html | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/deprecated/jinweiclarkchao.github.io/404.html b/deprecated/jinweiclarkchao.github.io/404.html index d652a79..4c54c82 100644 --- a/deprecated/jinweiclarkchao.github.io/404.html +++ b/deprecated/jinweiclarkchao.github.io/404.html | |||
@@ -51,7 +51,7 @@ | |||
51 | <br> | 51 | <br> |
52 | <h1>請檢查網址是否輸入錯誤</h1> | 52 | <h1>請檢查網址是否輸入錯誤</h1> |
53 | <p>你的网页一定是被吃掉了|´・ω・)ノ</p> | 53 | <p>你的网页一定是被吃掉了|´・ω・)ノ</p> |
54 | <p><a href="http://jinwei.me" target="_blank" rel="external">jinwei.me</a></p> | 54 | <p><a href="http://jinwei.me" target="_blank" rel="noopener noreferrer" rel="external">jinwei.me</a></p> |
55 | </body> | 55 | </body> |
56 | 56 | ||
57 | </html> | 57 | </html> |
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 | }; |
diff --git a/deprecated/jinweiclarkchao.github.io/index.html b/deprecated/jinweiclarkchao.github.io/index.html index 0718133..1e8bec2 100644 --- a/deprecated/jinweiclarkchao.github.io/index.html +++ b/deprecated/jinweiclarkchao.github.io/index.html | |||
@@ -31,10 +31,10 @@ | |||
31 | <br> Student | 31 | <br> Student |
32 | <hr> | 32 | <hr> |
33 | <div class="links"> | 33 | <div class="links"> |
34 | <a href="https://github.com/JinweiClarkChao" target="_blank">GitHub</a> | 34 | <a href="https://github.com/JinweiClarkChao" target="_blank" rel="noopener noreferrer">GitHub</a> |
35 | <a href="https://twitter.com/JinweiClarkChao" target="_blank">Twitter</a> | 35 | <a href="https://twitter.com/JinweiClarkChao" target="_blank" rel="noopener noreferrer">Twitter</a> |
36 | <a href="http://weibo.com/jinweiclarkchao" target="_blank">Weibo</a> | 36 | <a href="http://weibo.com/jinweiclarkchao" target="_blank" rel="noopener noreferrer">Weibo</a> |
37 | <a href="http://blog.jinwei.me" target="_blank">Blog</a> | 37 | <a href="http://blog.jinwei.me" target="_blank" rel="noopener noreferrer">Blog</a> |
38 | </div> | 38 | </div> |
39 | <hr> | 39 | <hr> |
40 | </article> | 40 | </article> |
@@ -42,7 +42,7 @@ | |||
42 | </section> | 42 | </section> |
43 | <footer class="site-footer"> | 43 | <footer class="site-footer"> |
44 | <div class="container"> | 44 | <div class="container"> |
45 | The theme of this blog is open sourced on GitHub by <a href="http://weibo.com/jinweiclarkchao" target="_blank" id="twitter">@Jinwei Zhao</a>. | 45 | The theme of this blog is open sourced on GitHub by <a href="http://weibo.com/jinweiclarkchao" target="_blank" rel="noopener noreferrer" id="twitter">@Jinwei Zhao</a>. |
46 | </div> | 46 | </div> |
47 | </footer> | 47 | </footer> |
48 | </div> | 48 | </div> |