最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to remove warning message in Chrome when uploading a directory - Stack Overflow

programmeradmin4浏览0评论

When uploading a directory using webkitdirectory in Chrome, there is an ugly warning message that appears. The message reads: "Upload [number of files] files to this site? This will upload all files from [directory name]. Only do this if you trust the site."

This started just recently in Chrome version 66.0.3359.139.

Is there a way to prevent this warning message from appearing or to at least prevent it appearing over and over for every upload to the same site?

When uploading a directory using webkitdirectory in Chrome, there is an ugly warning message that appears. The message reads: "Upload [number of files] files to this site? This will upload all files from [directory name]. Only do this if you trust the site."

This started just recently in Chrome version 66.0.3359.139.

Is there a way to prevent this warning message from appearing or to at least prevent it appearing over and over for every upload to the same site?

Share Improve this question edited May 9, 2018 at 4:23 martinez314 12.3k5 gold badges40 silver badges64 bronze badges asked May 8, 2018 at 2:42 Jim.FunJim.Fun 511 silver badge2 bronze badges 1
  • I was here finding how to display this warning . xD – ThanHtutZaw Commented Jun 17, 2023 at 7:20
Add a ment  | 

1 Answer 1

Reset to default 8

This prompt is a new security feature.

Previously you could socially engineer a user into holding enter and it uploaded their whole home folder to the attacker site. There is no option or mechanism to skip it.

https://crbug./637098

发布评论

评论列表(0)

  1. 暂无评论