A porn website that has taken umbrage with the Investigatory Powers Bill is urging everyone that visits its site to sign a petition calling for the recently-passed legislation.

Visitors to xHamster from the UK are being greeted with a pop-up message that asks them if they're aware of the new "surveillance" law and calls for them to sign a petition against it.

The Investigatory Powers Bill, which critics dub the Snoopers' Charter, has been controversial among the privacy conscious. It ratifies hacking and surveillance powers for the country's security services, as well as the ability to break encryption.

It also includes a provision for the bulk data collection of Britons' browsing habits, requiring internet and communications service providers to store the metadata of websites visited for 12 months.