Yeah.
The doodle code seems to have slowly been removed from the search results page. It should be run here, as it doesn't affect isch
results pages, just regular ones.
Specifically, document.querySelector(".jfN4p")
(searchLogo[0]
) is null
on a doodle day. The div returned by querySelector(".logo.Ib7Efc")
contains an image two levels down which can be modified this way:
document.querySelector(".logo.Ib7Efc").children[0].children[0].src = "https://upload.wikimedia.org/wikipedia/commons/3/3e/Google_2011_logo.png";
On a Doodle day, the first two (only the first!) images with class YQ4gaf
(which is also used for a lot of images in the actual results), can be removed:
document.querySelector(".YQ4gaf").remove();
document.querySelector(".YQ4gaf").remove();
This classname requires extreme care as it used to cause issues that were solved by removing the whole previous solution to this issue in commit 03388b6
.