Adding a Reference Script
Reference scripts only include functions that you intend to call from within your extension. Reference scripts run when a function from another script is called.
- Click Add reference script to add the script to your extension. The reference script will appear at the top of the Extension Panel.
- (Optional) As needed, call functions in the reference script from your extension. Any code that is not inside a function may execute when the reference script is added to an extension.