Fixed a mistake and added new confirm variant

This commit is contained in:
Somdev Sangwan 2018-03-29 12:37:37 +05:30 committed by GitHub
parent 6cbba99b6e
commit 28310a9a9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,6 +106,7 @@ Yep, confirm because alert is too mainstream.
confirm() confirm()
confirm`` confirm``
(((confirm)))`` (((confirm)))``
co\u006efirm()
new class extends confirm``{} new class extends confirm``{}
``` ```
@ -187,7 +188,7 @@ If the your dummy tags lands in the source code as it is, go for any of these pa
Come back later Come back later
### Awesome Tips & Tricks ### Awesome Tips & Tricks
- http(s):// can be shortened to // or /\. - http(s):// can be shortened to // or /\\.
- **document.cookie** can be shortened to **cookie**. It applies to other DOM objects as well. - **document.cookie** can be shortened to **cookie**. It applies to other DOM objects as well.
- alert and other pop-up functions don't need a value, so stop doing **alert('XSS')** and start doing **alert()** - alert and other pop-up functions don't need a value, so stop doing **alert('XSS')** and start doing **alert()**
- You can use **//** to close a tag instead of **>**. - You can use **//** to close a tag instead of **>**.