Open pawvan opened 4 months ago
Latest commit: 265703d243422fad83d7cd60de3e3f1344cf3cf9
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
I have made the following updates in this PR:
Dynamic Script Injection: Added a function to inject and execute custom script logic within a page context. Sanitization and Error Handling: Implemented basic sanitization and error handling within the script execution to prevent XSS attacks. Content Verification: Introduced a function to verify the text content of a div element against expected values. Enhanced Error Messages: Improved error messages for better debugging and code clarity.
Summary of Changes
What I've Done:
Script Injection Function:
Sanitization and Error Handling:
Content Verification Function:
div
element against expected values. This function checks if the content of a specific element matches what is anticipated.Error Messages:
Description
Summary:
Related Issue:
Motivation:
Dependencies:
Changes Made
Type of Change
How Has This Been Tested?
Additional Notes
Checklist
Reviewer Checklist
Example Title: