Inline

Inline scripts and style tags

Detailled description

Interface
These options are explained in detail here:

  • “inline” set to “true”: All inline scripts are re-fired, no matter what the contents of “inlinehints” is, but excluding those specified in “inlineskip”
  • “inline” set to “false”: No inline scripts are re-fired, except those with class=’ajaxy’ and those specified in “inlinehints” (see examples below):
  • “style” set to “true”: All new style tags are loaded
  • “style” set to “false”: All new style tags are ignored

Example calls for inline scripts with “inline” set to true

Multiple “inline skips” have to be separated by comma + space

inlineskips Scripts skipped
‘adsbygoogle’ All inline scripts containing the string ‘adsbygoogle’

Example calls for inline scripts with “inline” set to false

Multiple “inlinehints” have to be separated by comma + space

inlinehints Scripts re-fired
‘SyntaxHighlighter’ All inline scripts containing the string ‘SyntaxHighlighter’
‘SyntaxHighlighter, WP_’ All inline scripts containing the string ‘SyntaxHighlighter’ or ‘WP_’

Avoiding unwanted recursion

Inline scripts that contain the string:
").ajaxify("are NOT fired on subsequent loads!

35 thoughts on “Inline”

Leave a Reply

Your email address will not be published. Required fields are marked *