title: Is it possible to feed TYPO3's default stylesheet by Extbase?
body: <p>I have to prevent loading backgrounds by <code>style=""</code> attributes in the frontend but still need to be able to set up background images from the cms.</p>
  
  <p>TYPO3 has a default stylesheet (e.g. <code>typo3temp/stylesheet_[hash].css?[timestamp]</code> for loading CSS registred by TypoScript:</p>
  
  <pre><code>plugin.tx_myext._CSS_DEFAULT_STYLE (
      .css {}
  )
  </code></pre>
  
  <p>But is it possible to extend this css file from a Extbase Controller?</p>
  
  <p>Unfortunately <code>\TYPO3\CMS\Core\Page\PageRenderer</code> has not such a functionality.</p>
  
  <p>I also tried:</p>
  
  <pre><code>$GLOBALS['TSFE']-&gt;tmpl-&gt;setup['plugin.']['tx_myext.']['_CSS_DEFAULT_STYLE'] = 'body {display:none}';
  </code></pre>
  
  <p>But it seems that the <code>\TYPO3\CMS\Frontend\Page\PageGenerator</code> generates the page before any content is called.</p>