Last active
July 6, 2018 05:35
-
-
Save interference-security/f9d7527d6a5ca96a101b5268e94c483d to your computer and use it in GitHub Desktop.
Javascript hacks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AngularJS: angular.version | |
| ReactJS: React.version | |
| JQuery: $().jquery; | |
| Remove disabled attribute: | |
| html_elements = ["input", "select", "button"]; for(j=0; j<html_elements.length; j++) { for(i=0; i<document.getElementsByTagName(html_elements[j]).length; i++) { document.getElementsByTagName(html_elements[j])[i].disabled=false; } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment