Mining on Actilib works thanks to "WebMinig". Actilib uses COINIMP
With CoinIMP, Monero is mined by using your visitors CPU resources which would be otherwise wasted. Why not Bitcoin, Ethereum or any other? Because Monero value is quite high and it can be mined with similar efficiency by CPU and GPU, while mining other cryptocurrencies with CPU makes no financial sense.