Skip to content

Takes a string and processes the JavaScript contained within.

License

Notifications You must be signed in to change notification settings

webciter/evaluateScriptTags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

evaluateScriptTags

Takes a string and processes the JavaScript contained within.

Loop through a html string and processes the script tags, with a single function

evaluateScriptTags("<div></div><script>alert("working");</script>");

I know people say its not good practice to use eval() but sometimes you may have to.

About

Takes a string and processes the JavaScript contained within.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published