allow user decision when some action fails
This commit is contained in:
		| @ -6,3 +6,5 @@ const ACTION_REPORT_IN = `${EXT_NAME}:ReportIn`; | ||||
| const ACTION_QUERY_URL = `${EXT_NAME}:QueryURL`; | ||||
| const ACTION_SCROLL_BOTTOM = `${EXT_NAME}:ScrollToBottom`; | ||||
| const ACTION_UPLOAD_STATE = `${EXT_NAME}:UploadStateFile`; | ||||
| const ACTION_SLEEP = `${EXT_NAME}:Sleep`; | ||||
| const ACTION_WAKEUP = `${EXT_NAME}:WakeUp`; | ||||
|  | ||||
| @ -12,6 +12,7 @@ class ConstMessage { | ||||
| const URL_REG = getWebUrl(); | ||||
| const MSG_ELEMENT_NOT_FOUND = new ConstMessage(1, "No element found for at least one selector, maybe it's not loaded yet"); | ||||
| const MSG_URL_SKIPPED = new ConstMessage(100, "Skipped current URL"); | ||||
| const MSG_USER_ABORT = new ConstMessage(100, "Tasks stopped by user."); | ||||
|  | ||||
| function saveFile(data, mimeType, fileName) { | ||||
|     fileName = fileName || document.title || "result"; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user