uBlock Origin does it by default for instance.
On Brave, the workaround on that linked snippet bypasses their blocking.
reply
The reason is that browser prefetching may hit URLs that were intended to be blocked.
uBlock Origin does it by default for instance.