Anna.info website technical test: Difference between revisions

From annawiki
Line 10: Line 10:
** Status: anna.info is currently preloaded.
** Status: anna.info is currently preloaded.
*https://observatory.mozilla.org/analyze.html?host=anna.info
*https://observatory.mozilla.org/analyze.html?host=anna.info
** A+; Score: 100/100, Tests Passed: 10/10
** A+; Score: 125/100, Tests Passed: 11/11
** Note: One can get a score higher than 100, e.g.  
** Note: One can get a score higher than 100, e.g.  
*** +5 Content Security Policy - if no unsafe-inline is present, anna.info having "Content Security Policy (CSP) implemented with 'unsafe-inline' inside style-src" gets 0 for "Content Security Policy"
*** +5 Content Security Policy - if no unsafe-inline is present, anna.info having "Content Security Policy (CSP) implemented with 'unsafe-inline' inside style-src" gets 0 for "Content Security Policy"

Revision as of 2018-02-20T18:39:34

Links

Issues

Content-Security-Policy	default-src 'self'; style-src 'self' 'unsafe-inline'

The "style-src 'unsafe-inline'" prevents getting +5 points. Inline CSS is used

  • for getting 100/100 on Goolge speed test, which does not seem to be possible with external CSS
  • to to CSS marking in MediaWiki, e.g. cells in tables

Other