#Passive

解决ftp客户端连接验证报错Server sent passive reply with unroutable address. Using server address instead

最近在linux服务器安装vsftp服务。经过一轮设置,终于可以连接上了,用winSCP连接,刷新目录就提示这个错误。解决办法:vim /etc/vsftpd.conf ,编辑配置文件,最后加上下面几行配置:pasv_address=54.69.120.54pasv_max_port=55000pa...

jquery.nicescroll.js Unable to preventDefault inside passive event listener due to target being treated as passive.

 解决办法就是:https://github.com/bestjhh/Plugin下载替换。  参考:https://github.com/bestjhh/Pluginhttps://blog.csdn.net/qq_40776187/article/details/90170419htt...

Passive event listeners

  https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md...
代码星球 ·2020-11-01

passive 的事件监听器

很久以前,addEventListener()的参数约定是这样的:addEventListener(type,listener,useCapture)后来,最后一个参数,也就是控制监听器是在捕获阶段执行还是在冒泡阶段执行的useCapture参数,变成了可选参数(传true的情况太少了),成了:addEventList...
代码星球 ·2020-04-14