Does it melt the top layer off the plastic is that how it works?

Interesting FAQ from website link
Can Harpic products discolour or stain the toilet bowl?
No, Harpic toilet cleaning liquids will not stain the toilet bowl. Harpic products, especially Power Plus will cling to the Limescale in the toilet bowl to highlight it. There is no ingredient in the Harpic products that can cause staining and the surface of the bowl is a sealed and not porous and thus will not absorb any liquid or colour.
It is important to note that Harpic toilet cleaning products are NOT suitable for stainless steel toilets. Moreover, Harpic is only suitable for use in the toilet bowl and should never be used on any other surface.