mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-30 03:50:41 +12:00
oops
This commit is contained in:
parent
4a86eb0525
commit
13c03d802d
|
@ -294,7 +294,7 @@ var chromeCookieRemove = function(url, name) {
|
||||||
var persistCookieKey = cookieKeyFromCookieURL(url, 'persistent', name);
|
var persistCookieKey = cookieKeyFromCookieURL(url, 'persistent', name);
|
||||||
var callback = function(details) {
|
var callback = function(details) {
|
||||||
var success = !!details;
|
var success = !!details;
|
||||||
if ( cookieDict.hasOwnProperty(sessionCookieKey) ) {
|
if ( removeCookieFromDict(sessionCookieKey) ) {
|
||||||
if ( success ) {
|
if ( success ) {
|
||||||
µm.logger.writeOne('', 'info', 'cookie deleted: ' + sessionCookieKey);
|
µm.logger.writeOne('', 'info', 'cookie deleted: ' + sessionCookieKey);
|
||||||
µm.cookieRemovedCounter += 1;
|
µm.cookieRemovedCounter += 1;
|
||||||
|
@ -302,7 +302,7 @@ var chromeCookieRemove = function(url, name) {
|
||||||
µm.logger.writeOne('', 'error', 'failed to delete cookie: ' + sessionCookieKey);
|
µm.logger.writeOne('', 'error', 'failed to delete cookie: ' + sessionCookieKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( cookieDict.hasOwnProperty(persistCookieKey) ) {
|
if ( removeCookieFromDict(persistCookieKey) ) {
|
||||||
if ( success ) {
|
if ( success ) {
|
||||||
µm.logger.writeOne('', 'info', 'cookie deleted: ' + persistCookieKey);
|
µm.logger.writeOne('', 'info', 'cookie deleted: ' + persistCookieKey);
|
||||||
µm.cookieRemovedCounter += 1;
|
µm.cookieRemovedCounter += 1;
|
||||||
|
|
Loading…
Reference in a new issue