Apart from the undisclosed reffereal links, yes those websites work as they just run a Java (or similar) scrip in your browser to mine XMR. Having said that if you really want to mine this is absolutely inefficient, get a miner and connect to a pool instead.