If the user mined it themselves and then paid the site owner before accessing the site, they'd have to pay a transaction fee and wait for a high-latency transaction to commit. The transaction fee could dwarf the actual payment value.
Mining on behalf of the site owner negates the need for a transaction entirely.
Mining on behalf of the site owner negates the need for a transaction entirely.