Table of Contents Previous entry (api:CDATA) Next entry (deployment:overview)
Script execution is handled by wrapper code that runs or injects the actual userscripts.
There are various methods and APIs available for this, and the Content Script API setting in Tampermonkey determines how and where the wrapper code is executed.
This setting is available in Firefox and Chrome (Manifest V3) versions of the extension.
The following options are available for the Content Script API setting:
document-start support.document-start support.document-start is supported.document-start is supported.Some known MV3 issues with the Content Script API setting include:
@include patterns using regular expressions may cause scripts to be injected into every frame.@resources.