{"action":"opened","issue":{"url":"https://api.github.com/repos/futtta/autoptimize/issues/68","repository_url":"https://api.github.com/repos/futtta/autoptimize","labels_url":"https://api.github.com/repos/futtta/autoptimize/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/futtta/autoptimize/issues/68/comments","events_url":"https://api.github.com/repos/futtta/autoptimize/issues/68/events","html_url":"https://github.com/futtta/autoptimize/issues/68","id":184656024,"number":68,"title":"Content-Security-Policy","user":{"login":"macgeneral","id":9381035,"avatar_url":"https://avatars.githubusercontent.com/u/9381035?v=3","gravatar_id":"","url":"https://api.github.com/users/macgeneral","html_url":"https://github.com/macgeneral","followers_url":"https://api.github.com/users/macgeneral/followers","following_url":"https://api.github.com/users/macgeneral/following{/other_user}","gists_url":"https://api.github.com/users/macgeneral/gists{/gist_id}","starred_url":"https://api.github.com/users/macgeneral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macgeneral/subscriptions","organizations_url":"https://api.github.com/users/macgeneral/orgs","repos_url":"https://api.github.com/users/macgeneral/repos","events_url":"https://api.github.com/users/macgeneral/events{/privacy}","received_events_url":"https://api.github.com/users/macgeneral/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-22T21:46:59Z","updated_at":"2016-10-22T21:46:59Z","closed_at":null,"body":"Is there a way that Autooptimize could insert a script/css 'nonce' in the script/style tag, that way I could allow scripts and css with that [nonce](http://www.cspplayground.com/csp_overview) while disallowing all others (and abandoning 'unsafe-inline').\r\n\r\nAutooptimize is the perfect place for this feature because it already can strip all inline code, it's just missing a function to either generate a script/css hash and modifying the csp header or alternatively just adding the tag required above."}}
{"actor":{"display_login":"macgeneral"}}