Remove inline JS from specific page type?
Put this inside tlito_theme_js_alter().

foreach ($js as $key =&gt; $value) {
  // Skip if data is not a string or is not inline.
  if (!is_string($value['data']) || $value['type'] !== 'inline') {
    continue;
  }
  // Remove SyntaxHighlighter.defaults.toolbar inline js.
  if (strpos($value['data'], 'SyntaxHighlighter.defaults.toolbar') !== FALSE) {
    // Remove from the js array &amp; exit loop.
    unset($js[$key]);
    break;
  }
}