gpt4 book ai didi

javascript - "const%20d"是什么意思?

转载 作者:行者123 更新时间:2023-11-30 08:22:21 24 4
gpt4 key购买 nike

我不是 javascript 开发人员,但我有一个特殊的使命。但有件事我无法理解。

<a onclick="return false;" href="javascript:(function(){const%20d=document,n='bmletAWPlus';if(window.bmletLoader===undefined){const%20e=d.createElement('script');e.src=

它是 const%20dconst%20e,我在网络上找不到任何有关它的信息。我猜它是 const %20d 并且正在寻找 ascii 或 html 值。但我仍然不明白这到底是做什么的。

谁能解释一下吗?

谢谢

最佳答案

JavaScript 编码用等效的十六进制代码替换大多数标点符号

%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/

关于javascript - "const%20d"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51397470/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com