Created
July 9, 2016 14:54
-
-
Save ezhlobo/cc4b6a649f0d35929caa2d3f43803c58 to your computer and use it in GitHub Desktop.
Debug funcitons
This file contains 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
const isFormsProtectedByCSRF = () => | |
document.querySelectorAll('form').length === document.querySelectorAll('input[name=_csrf]:not([disabled])').length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment