Removes console logs
Signed-off-by: Chris Abraham <cjyabraham@gmail.com>pull/47314/head
parent
e04ae67733
commit
7613b3b55b
|
@ -90,12 +90,10 @@
|
||||||
const isGoogleBlocked = await checkBlockedSite("https://www.google.com/favicon.ico");
|
const isGoogleBlocked = await checkBlockedSite("https://www.google.com/favicon.ico");
|
||||||
if ( isGoogleBlocked ) {
|
if ( isGoogleBlocked ) {
|
||||||
// Google is blocked.
|
// Google is blocked.
|
||||||
console.log("Google is blocked")
|
|
||||||
document.cookie = "can_google=false;" + path + expires
|
document.cookie = "can_google=false;" + path + expires
|
||||||
window.renderPageFindSearchResults()
|
window.renderPageFindSearchResults()
|
||||||
} else {
|
} else {
|
||||||
// Google is not blocked.
|
// Google is not blocked.
|
||||||
console.log("Google is NOT blocked")
|
|
||||||
document.cookie = "can_google=true;" + path + expires
|
document.cookie = "can_google=true;" + path + expires
|
||||||
window.renderGoogleSearchResults()
|
window.renderGoogleSearchResults()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue