|
@ -296,18 +296,18 @@ var chromeCookieRemove = function(url, name) { |
|
|
var success = !!details; |
|
|
var success = !!details; |
|
|
if ( removeCookieFromDict(sessionCookieKey) ) { |
|
|
if ( removeCookieFromDict(sessionCookieKey) ) { |
|
|
if ( success ) { |
|
|
if ( success ) { |
|
|
µm.logger.writeOne('', 'info', 'cookie deleted: ' + sessionCookieKey); |
|
|
|
|
|
|
|
|
µm.logger.writeOne('', 'info', vAPI.i18n('loggerEntryCookieDeleted').replace('{{value}}', sessionCookieKey)); |
|
|
µm.cookieRemovedCounter += 1; |
|
|
µm.cookieRemovedCounter += 1; |
|
|
} else { |
|
|
} else { |
|
|
µm.logger.writeOne('', 'error', 'failed to delete cookie: ' + sessionCookieKey); |
|
|
|
|
|
|
|
|
µm.logger.writeOne('', 'error', vAPI.i18n('loggerEntryDeleteCookieError').replace('{{value}}', sessionCookieKey)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if ( removeCookieFromDict(persistCookieKey) ) { |
|
|
if ( removeCookieFromDict(persistCookieKey) ) { |
|
|
if ( success ) { |
|
|
if ( success ) { |
|
|
µm.logger.writeOne('', 'info', 'cookie deleted: ' + persistCookieKey); |
|
|
|
|
|
|
|
|
µm.logger.writeOne('', 'info', vAPI.i18n('loggerEntryCookieDeleted').replace('{{value}}', persistCookieKey)); |
|
|
µm.cookieRemovedCounter += 1; |
|
|
µm.cookieRemovedCounter += 1; |
|
|
} else { |
|
|
} else { |
|
|
µm.logger.writeOne('', 'error', 'failed to delete cookie: ' + persistCookieKey); |
|
|
|
|
|
|
|
|
µm.logger.writeOne('', 'error', vAPI.i18n('loggerEntryDeleteCookieError').replace('{{value}}', persistCookieKey)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|