Inject Javascript into a webpage

I would like to inject a JavaScript file into webpages with a Safari Extension. I have seen on the documentation of Apple "Injecting a Script into a Webpage" by the file Info.plist, but I fail to do it...
Someone could help me?
Thank you by advance for your help!

Terms of Service

Privacy Policy

Cookie Policy