I don't think it would work today under your proposed model unless you could prevent others from hijacking your code and redirecting the hashrate somewhere else. Unless of course these were websites under your control.
Good intent indeed. There are so many altcoins that if you were to pick the right algo and point it at a multipool it might get somewhere. I always thought it would be a good idea to have a game platform with integrated mining support built in that would use a small percentage of your graphics in exchange for free games.
That's a great idea! Game platform with integrated mining system.. I'll keep researching this just for fun, anyway. Thank you all.
PirateBay did that but without the knowledge of the users. Simple goolge search will get you to the software they used. It's basically a JavaScript code that you put on your web page and point toward the API key you get from them. They take percentage and you get your coins. Of course you can compile C based miner yourself and avoid the fee if you want to hassle...