Skip to content

Instantly share code, notes, and snippets.

@erhaem
Last active July 31, 2024 04:49
Show Gist options
  • Select an option

  • Save erhaem/5f43bbfcd08408b9d9402bfeed593512 to your computer and use it in GitHub Desktop.

Select an option

Save erhaem/5f43bbfcd08408b9d9402bfeed593512 to your computer and use it in GitHub Desktop.
Google Doodle: Paris 2024 cheat

Google Doodle: Paris 2024 cheat

Sorry for messing up the fun. This script helps you spot the clickable object on Google Doodle Paris 2024 https://searchplayground.google/paris-2024.

javascript:void(function(){
const buttons = document.querySelector('spg-root')
  .shadowRoot.querySelector('bsx-gtm-tracking spg-interactive-map')
  .shadowRoot.querySelector('spg-interactive-layer')
  .shadowRoot.querySelectorAll('button[class="  "]:not([aria-pressed])');

buttons.forEach((btn) => {
  btn.style.backgroundColor = 'red';
  btn.style.border = '3px solid yellow';
})
})()

Copy and paste the script above onto bookmark bar, click the bookmark after. And click all the red-colored box, and Bob is your uncle :)
p.s.
Your search style will be marked as 'Curious clicker' when you click every object randomly image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment