mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-05-30 03:10:12 +02:00
Add parens around ternary condition
This commit is contained in:
parent
697314a852
commit
a743f17eda
@ -228,7 +228,7 @@ chrome.webRequest.onCompleted.addListener(function(details) {
|
|||||||
}
|
}
|
||||||
chrome.cookies.getAll({domain: domainVar}, function(cookies) {
|
chrome.cookies.getAll({domain: domainVar}, function(cookies) {
|
||||||
for (var i=0; i<cookies.length; i++) {
|
for (var i=0; i<cookies.length; i++) {
|
||||||
chrome.cookies.remove({url: cookies[i].secure ? "https://" : "http://" + cookies[i].domain + cookies[i].path, name: cookies[i].name});
|
chrome.cookies.remove({url: (cookies[i].secure ? "https://" : "http://") + cookies[i].domain + cookies[i].path, name: cookies[i].name});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user