Understanding or not, certain decisions like overriding the semantic meaning of a hash in a url doesn't seem to be working with the platform. A better version would be adding a target to a `data-` attribute.
It's a fun project overall, though.
But the hash doesn't have a semantic meaning when it is in an href or action attribute, because it is stripped out before the request is sent to the server. The hash only has a meaning when it's in the URL bar. That's kinda the point of this hack.
OP addresses this at “We can do a hack that enables you to write the target ID selector in the target attribute itself!”
I'm only addressing the comment on "a glorious demonstration" of understanding the platform, where hacks like this go against such a take (IMO)
I'd say hacking the platform in a way that's elegant like this would require a certain level of understanding of it,
Just use target, if it starts with #, it's replacement, otherwise behaves as is.