'Migration to Manifest v3 Sandbox

I am migrating to manifest v3 and originally my program will use some library like tfjs or tesseract which involve unsafe-eval. Currently I am considering use a sandbox page to do the related part. I have reviewed the example and they use iframe to inject the sandbox code. May I ask for manifest v3, is there any method?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source