JavaScript is very fun language. Like it is more simple and superior that python, ok. I am not that python is bad, but can python do this
1. console.log(console)
console.log(console)
OUTPUT:
:
ƒ assert()
clear
:
ƒ clear()
context
:
ƒ context()
count
:
ƒ count()
countReset
:
ƒ countReset()
createTask
:
ƒ createTask()
debug
:
ƒ debug()
dir
:
ƒ dir()
dirxml
:
ƒ dirxml()
error
:
ƒ error()
group
:
ƒ group()
groupCollapsed
:
ƒ groupCollapsed()
groupEnd
:
ƒ groupEnd()
info
:
ƒ info()
log
:
ƒ log()
memory
:
MemoryInfo {totalJSHeapSize: 64942465, usedJSHeapSize: 51569489, jsHeapSizeLimit: 2095841280}
profile
:
ƒ profile()
profileEnd
:
ƒ profileEnd()
table
:
ƒ table()
time
:
ƒ time()
timeEnd
:
ƒ timeEnd()
timeLog
:
ƒ timeLog()
timeStamp
:
ƒ timeStamp()
trace
:
ƒ trace()
warn
:
ƒ warn()
its pretty crazy. you can mess with it here is the blog for more information:thanks Jai-dewani
2. document.designMode = on
Oh my god this is the best one here. literally list can stop here.
this make your website or any website customizable.
- go to youtube
- inspect document and click console tab.
- type
document.designMode = on
- and click on any text and press backspace. 4.type anything gibberish.
3(and last one). windows.open()
this is also crazy. this thing makes a browser for you. don't believe me just try it.
let win = window.open("https://www.youtube.com/@atharvashankar","my web Browser","width-300,height-300")
conclusion
these one liner can change whole website. and remember chrome can give you security warnings. but just ignore it.
bye!
check out my youtube channels:-Main,
also check me out on hashnode :-all blogs are here also
Top comments (0)