admin管理员组

文章数量:1356780

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

本文标签: javascriptHow to remove warning message in Chrome when uploading a directoryStack Overflow