Recent events have shown that the auto-approval for user proxies is way too dangerous.
Security of users' NFTs should come before the convenience of auto approving collection for trading.
This is why I decided to remove the files in this gist.
Since a few weeks, people are loosing NFTs because of approvals on OpenSea.
It's in no way OpenSea's fault, it's because some bad people are phishing signatures of sale orders.
The only way to protect against this, is for users to revoke the approval they gave to OpenSea, using tools like etherscan approval checker or other revoke apps.
However this is not possible if there is no event emitted. Those website can not know that an approval has been given. Users are not even aware that their NFTs are approved on OpenSea, but still if they get phished, might see them disappear anyway.
This pattern seemed convenient a few months back, but experience have just shown that it's too dangerous to have it used, especially without any way to revoke it.
Users wanting to sell on Marketplaces are expecting to make a profit. Therefore my opinion is that they should take the cost of approval into account when they calculate their possible profit, and include that in their sale price.
It's a small price compared to the security of their tokens if they don't try to sell it.
I updated that quickly a few days ago and didn't have time to finish creating the public interface for it.
To be honest I'm really thinking deprecating this gist. Because using this proxyRegistry is actually pretty dangerous, for many reasons.
That's a pattern that can be critical very quicly and I think OS should change their market contract for something not using it.