I am not sure I condone such cheats. ;)
Seriously, though, it really depends on how the game was made. It might be visible using Inspect and it might not.
For example, if the HTML element that represents the square has a class attribute (<div class="something") and it is used for predetermining the identity of the square (not likely), then you are in luck and any identity would have a different class value.
Otherwise, it is in the "code behind" (JavaScript), which means it would be buried somewhere in a variable. You can probably still get it, but it would take more time to get there (and out of scope for this group, since it is for developers, not users).