Created
September 13, 2014 03:42
-
-
Save Qofar/564f0c46c49037b5f0e2 to your computer and use it in GitHub Desktop.
Chromeでファイルを保存する際、同名ファイルが存在する場合は確認ダイアログを表示
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome.downloads.onDeterminingFilename.addListener(function(item, suggest) { | |
suggest({filename: item.filename, conflictAction: "prompt"}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment