Reputation: 316
I'm not javascript developer, but i got exceptionally a mission about it. But there is something i can't understand.
<a onclick="return false;" href="javascript:(function(){const%20d=document,n='bmletAWPlus';if(window.bmletLoader===undefined){const%20e=d.createElement('script');e.src=
It's const%20d
and const%20e
, i can't find any info about it on the web. I guess it's const %20d
and was looking for ascii or html value. But i still don't understand what this is really doing.
Can someone explain ?
Thanks
Upvotes: 2
Views: 1257
Reputation: 949
The JavaScript Encoding replaces most punctuation symbols with the equivalent hex-codes
%20 is the encoding for space (0x20 being space's ASCII code).
Encoding normally replaces a space with a plus (+) sign or with %20.
https://www.the-art-of-web.com/html/character-codes/
Upvotes: 3
Reputation: 1418
The %20
token is a ASCII URL encoded value for a space. It is usually visible in URLs that have spaces in them.
Info on all the other characters here: https://www.eso.org/~ndelmott/url_encode.html
Upvotes: 1