Just write some code

Tip: Sometimes I invite a naughty script into DOM, that applies hooks on some routines and attributes.
Are you able to detect it? Just return false for emergency!

if(/*cheat condition*/false) return false; var puzzles = frame_window.document.getElementsByClassName("puzzle") var result = { "red": 0, "green": 0, "blue":0 } for(var puzzle of puzzles) result[puzzle.style.backgroundColor]++; return result;