{"id":1641,"date":"2022-01-02T23:11:21","date_gmt":"2022-01-02T14:11:21","guid":{"rendered":"https:\/\/dalomo.net\/blog\/?p=1641"},"modified":"2022-01-02T23:11:21","modified_gmt":"2022-01-02T14:11:21","slug":"refused-to-execute-inline-script-because-it-violates-the-following-content-security-policy-directive-script-src-self-either-the-unsafe-inline-keyword-a-hash-sha256-xxx-or-a-nonce","status":"publish","type":"post","link":"https:\/\/dalomo.net\/blog\/2022\/01\/02\/1641\/","title":{"rendered":"Refused to execute inline script because it violates the following Content Security Policy directive: &#8220;script-src &#8216;self'&#8221;. Either the &#8216;unsafe-inline&#8217; keyword, a hash (&#8216;sha256-xxx&#8217;), or a nonce (&#8216;nonce-&#8230;&#8217;) is required to enable inline execution.\u3063\u3066\u30a8\u30e9\u30fc"},"content":{"rendered":"<h1>Refused to execute inline script because it violates the following Content Security Policy directive: &#8220;script-src &#8216;self'&#8221;. Either the &#8216;unsafe-inline&#8217; keyword, a hash (&#8216;sha256-xxx&#8217;), or a nonce (&#8216;nonce-&#8230;&#8217;) is required to enable inline execution.<\/h1>\n<p>&lt;script&gt;&lt;\/script&gt;\u3067\u56f2\u3063\u305f\u4e2d\u306b\u66f8\u3044\u3066\u3042\u308b\u30b3\u30fc\u30c9\u3092\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5316\u3057\u305f\u3089\u76f4\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Refused to execute inline script because it violates the following Content Security Policy directive: &#8220;s &hellip; <a href=\"https:\/\/dalomo.net\/blog\/2022\/01\/02\/1641\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[9],"tags":[91],"class_list":["post-1641","post","type-post","status-publish","format-standard","hentry","category-9","tag-javascript"],"_links":{"self":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/comments?post=1641"}],"version-history":[{"count":1,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1641\/revisions"}],"predecessor-version":[{"id":1642,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1641\/revisions\/1642"}],"wp:attachment":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media?parent=1641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/categories?post=1641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/tags?post=1641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}