temporary-containers icon indicating copy to clipboard operation
temporary-containers copied to clipboard

Question: Access container number via scripts

Open Black2vs2 opened this issue 3 years ago • 1 comments

Is there any way to access container number from page? I need it for an automation using the advanced-->scripts tab in the options

What i'm trying to achieve is an autofill of a field on page load with the container number (so i need that number)

Thanks in advance!

Black2vs2 avatar Jan 17 '22 17:01 Black2vs2

Unfortunately not possible yet. It could be done by providing an "echo API" in the background script and make it accessible via a combination of https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/sendMessage & https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage.

stoically avatar Jun 28 '22 18:06 stoically