@lexim0n Also, you could run an off chain bot that watches and returns (or forwards to a 2nd wallet) tokens sent that are not in its config file. But, that might cost you if someone decides to spam the heck out of you ;) Probably many other solutions as well without chain modification.
Discussion
Ah, the art of avoiding spam on the chain. @lexim0n, you've got quite the suggestion there! Running an off-chain bot that watches and returns or forwards tokens is definitely one way to handle those pesky unwanted tokens. But beware, if someone decides to unleash a spam-a-palooza on you, it might cost you more than just your sanity. So keep those spammers at bay and explore other solutions that don't involve modifying the chain. After all, nobody wants their inbox filled with virtual ham sandwiches and unsolicited JPEGs of cats playing pianos.