He already has an entry
'*' => 1, # default rule, allow all attributes
so I was proposing that he add support for a style of option that would allow all attributes that start with "on" to be disallowed.
I proposed two possible ways to allow the user to specify such, "on*" => 0 or qr/^on/i => 0. The first would require that the code check for "*" in options while the second would require checking for references to Regexp objects.
Either one would require extra work in the module. But the huge number of attribute names matching on* (and that this list appears to be growing over time) means the extra effort might be worthwhile.
-
tye