Modifying a web page from Firefox add-on (Webextension API): how to access the elements properly?
问题 I am migrating my old Firefox extenstion to WebExtenstion API. Here is what my extension does: add a button to the toolbar specify four settings in Options when a user clicks a button, I verify the URL. If the URL matches one of three possible values, I use the values from the option page to fill some input elements on the page and click a form button. So here is my manifest.json: { "manifest_version": 2, "name": "Login", "version": "3.0", "description": "Login to myinterfaces", "homepage_url