How do I inject content scripts into any webpage that has app.zoom.us/wc/ and anything…
- User
How do I inject content scripts into any webpage that has app.zoom.us/wc/ and anything beyond that last slash
- Assistant
To inject a content script into any webpage that has the URL pattern "app.zoom.us/wc/" and anything beyond that last slash, you can follow these steps:
-
Create a new directory and navigate to it using the command line.
-
Inside the directory, create a new file named
manifest.json. Open the file in a text editor and add the following code:
{ "manifest_version": 2, "name": "Zoom Content Script Injector", "version": "1.0", "content_scripts": [ { "matches": ["https://app.zoom.us/wc/*"], "js": ["contentScript.js"], "run_at": "document_idle" } ], "permissions": ["tabs"] }-
Save the
manifest.jsonfile. -
Create another file named
contentScript.jsin the same directory. This file will contain the JavaScript code that will be injected into the Zoom webpages. Add your desired code to this file.
-