Skip to content

Question: Would worker-dom be suitable for 3p scripts like trackers/analytics/captcha etc #849

Open
@prateekbh

Description

@prateekbh

Hi!
I am curious to know if worker-dom has all the required DOM API coverage to allow 3p scripts like trackers/analytics(ga, gtm)/captcha(recaptcha) etc. These scripts often introduce long tasks on the main thread, leading to janks and delay in input.
It would be great if these scripts could run in worker-dom and help avoid the main thread long tasks.

Also, if this is already put in production anywhere then links to those pages would be great help.
Thanks!

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions