If the download is initiated by download and the target filename is known before the MIME type and tentative filename have been determined, pass filename to download instead. In order to avoid confusion regarding which extension will win, users should not install extensions that may conflict. If more than one extension overrides the filename, then the last extension installed whose listener passes a suggestion object to suggest wins. Listeners may call suggest without any arguments in order to allow the download to use downloadItem.filename for its filename, or pass a suggestion object to suggest in order to override the target filename. Designed for Android, Chrome brings you personalized news articles, quick links to your. The DownloadItem will not complete until all listeners have called suggest. Google Chrome is a fast, easy to use, and secure web browser. If the listener neither calls suggest synchronously nor returns true, then suggest will be called automatically. If the listener calls suggest asynchronously, then it must return true. Each listener must call suggest exactly once, either synchronously or asynchronously. Each extension may not register more than one listener for this event. OnDeterminingFilename (ĭuring the filename determination process, extensions will be given the opportunity to override the target DownloadItem.filename.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |