Merge pull request #47314 from cjyabraham/tidy

Remove console logging about search engine choice
pull/47323/head
Kubernetes Prow Robot 2024-07-30 04:06:47 -07:00 committed by GitHub
commit 2c05dbeb04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -90,12 +90,10 @@
const isGoogleBlocked = await checkBlockedSite("https://www.google.com/favicon.ico");
if ( isGoogleBlocked ) {
// Google is blocked.
console.log("Google is blocked")
document.cookie = "can_google=false;" + path + expires
window.renderPageFindSearchResults()
} else {
// Google is not blocked.
console.log("Google is NOT blocked")
document.cookie = "can_google=true;" + path + expires
window.renderGoogleSearchResults()
}