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
| var checkDate = findNotifDate("2021-11-05 15:00:00"); | |
| console.log(checkDate); |
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
| const dt = new Date("2021-11-06 22:21:10"); | |
| var ts = dt.getTime().toString(); //"1636120800000" | |
| var checkDate = findNotifDate(ts); | |
| console.log(checkDate); |
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
| $checkDate = findNotifDate("2021-11-05 15:00:00", '+1'); | |
| var_dump($checkDate); |
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
| <p id="cb-console-log" style="display:none"> | |
| < script > | |
| console.log('Hello'); | |
| < /script > | |
| </p> |
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
| var code = document.createElement("div"); | |
| code.setAttribute("class", "code"); | |
| document.body.appendChild(code); |
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
| <p id="cb-console-log" style="display:none"> | |
| <script> | |
| console.log('Hello'); | |
| </script> | |
| </p> |
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
| var codeSnippet = document.querySelector('#cb-console-log').innerHTML; |
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
| <script id="cb-create-code-structure"> | |
| var code = document.createElement("div"); | |
| code.setAttribute("class", "code"); | |
| document.body.appendChild(code); | |
| //Destroy Self | |
| document.querySelector('#cb-create-code-structure').remove(); | |
| </script> |
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
| confirm("Are you human"); |
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
| <form method="post" onsubmit="return confirm('Are you sure you want to submit?')"> | |
| <!-- Some fields here --> | |
| <button type="submit">Submit</button> | |
| </form> |