From 28310a9a9a2e323deaab3bea3b1e513cd32b7f64 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Thu, 29 Mar 2018 12:37:37 +0530 Subject: [PATCH] Fixed a mistake and added new confirm variant --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a7c50f1..cba5c20 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,7 @@ Yep, confirm because alert is too mainstream. confirm() confirm`` (((confirm)))`` +co\u006efirm() 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 ### 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. - 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 **>**.