Skip to content

zenithtech/JS_HTML_regex_tag_attribute_manipulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JS_HTML_regex_tag_attribute_manipulation

Manipulate HTML tags and attributes using plain JS and RegEx.

This demonstrates how to maniupulate front-end HTML in an unideal situation where you have limited access and flexibility to modify HTML structure. Assuming we don't have classes or IDs to target the HTML tags, we try to find a pattern that we can use, and write a script that identifies the tags so we can target them.

Example: https://zenitht.com/git/JS_HTML_regex_tag_attribute_manipulation/

License

This package is licensed under MIT license. See LICENSE for details.

About

Manipulate HTML tags and attributes using plain JS and RegEx.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published