partytown icon indicating copy to clipboard operation
partytown copied to clipboard

Documentation on how to sandbox DOM access?

Open JamesNJep opened this issue 3 years ago • 0 comments

Reading about Partytown I though it had said it could sandbox thirdparty scripts access to the page. But looking through the config options I couldn't find any options for restricting DOM access.

As an example if I had form asking for Name, Age, and Email, and a third party script for validation email addresses, and only wanted the third party script to be able to have access to the Email field on the form. Could I configure Partytown to only allow access to the one field?

JamesNJep avatar Aug 04 '22 00:08 JamesNJep