OptionalallIf allFrames is true, implies that the JavaScript or CSS should be injected into all frames of current page. By default, it's false and is only injected into the top frame.
OptionalcodeJavaScript or CSS code to inject.
Warning:
Be careful using the code parameter. Incorrect use of it may open your extension to cross site scripting attacks.
OptionalcssThe css origin of the stylesheet to inject. Defaults to "author".
OptionalfileJavaScript or CSS file to inject.
OptionalframeThe ID of the frame to inject the script into. This may not be used in combination with allFrames.
OptionalmatchIf matchAboutBlank is true, then the code is also injected in about:blank and about:srcdoc frames if your extension has access to its parent document. Code cannot be inserted in top-level about:-frames. By default it is false.
OptionalrunThe soonest that the JavaScript or CSS will be injected into the tab. Defaults to "document_idle".
Details of the script or CSS to inject. Either the code or the file property must be set, but both may not be set at the same time.