From 73b0a203bc37f232711a9ef460ef422a579978b3 Mon Sep 17 00:00:00 2001 From: curben Date: Sat, 29 Sep 2018 19:22:06 +0930 Subject: [PATCH] Use subresource integrity for js https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity https://hacks.mozilla.org/2015/09/subresource-integrity-in-firefox-43/ https://www.troyhunt.com/protecting-your-embedded-content-with-subresource-integrity-sri/ --- themes/typing/layout/_partial/after-footer.ejs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/themes/typing/layout/_partial/after-footer.ejs b/themes/typing/layout/_partial/after-footer.ejs index 243f7c7..0826b7b 100644 --- a/themes/typing/layout/_partial/after-footer.ejs +++ b/themes/typing/layout/_partial/after-footer.ejs @@ -1,5 +1,8 @@ -<%- js('js/jquery.min') %> -<%- js('js/clipboard.min') %> + + + + + <% if (theme.fancybox){ %> <%- css('fancybox/jquery.fancybox.min') %>