The moment the 25-year-old protester got home from demonstrations that turned violent – tear gas still stinging her eyes – she knew what she had to do: delete all of her Chinese phone apps.

WeChat was gone. So was Alipay and the shopping app Taobao. She then installed a virtual private network on her smartphone to use with the secure messaging app Telegram in an attempt to stay hidden from cyber-monitors.

“I’m just doing anything” to stay ahead of police surveillance and hide her identity, said the protester.

She asked to be referred only by her first name, Alexa, to avoid drawing the attention of authorities amid the most serious groundswell against Chinese-directed rule in Hong Kong since 2014.

Protests that expanded over the past week against a bill allowing extraditions to mainland China were marked by something unprecedented: a coordinated effort by demonstrators to leave no trace for authorities and their enhanced tracking systems.

Hong Kong: Extradition law protests continue into second week Show all 40 1 /40 Hong Kong: Extradition law protests continue into second week Hong Kong: Extradition law protests continue into second week A reported two million people took to the streets to protest against a controversial extradition law in Hong Kong on June 16 AFP/Getty Hong Kong: Extradition law protests continue into second week Protesters part to allow an ambulance to pass through during a protest on June 16 that reportedly attracted two million people AFP/Getty Hong Kong: Extradition law protests continue into second week A protester pays tribute to a man who died after falling from a scaffolding during the protests against against the extradition law proposal on June 17 Reuters Hong Kong: Extradition law protests continue into second week Following the demonstration, protesters cleared rubbish from the roads where a reported two million people had marched AP Hong Kong: Extradition law protests continue into second week Protesters part to allow buses to pass through during a protest on June 16 that reportedly attracted two million people Getty Hong Kong: Extradition law protests continue into second week A riot police officer strikes at protesters during a protest against the extradition law proposal outside the Legislative Council of Hong Kong on June 12 Reuters Hong Kong: Extradition law protests continue into second week A police officer fires tear gas at protesters during a protest against the extradition law proposal outside the Legislative Council of Hong Kong on June 12 Reuters Hong Kong: Extradition law protests continue into second week Protesters scatter as police fire tear gas during a protest against the extradition law proposal outside the Legislative Council of Hong Kong on June 12 Pauline Leung via Reuters Hong Kong: Extradition law protests continue into second week Protesters carry a banner opposing the extradition law proposal outside the Legislative Council of Hong Kong on June 16 AP Hong Kong: Extradition law protests continue into second week A protester holds a picture of an injured man who later died after falling from a scaffolding during the protests against against the extradition law proposal on June 17 Reuters Hong Kong: Extradition law protests continue into second week Protesters run after police fire tear gas during a protest against the extradition law proposal outside the Legislative Council of Hong Kong on June 12 AFP/Getty Hong Kong: Extradition law protests continue into second week A protester rests after facing water cannons fired by police during a protest against the extradition law proposal outside the Legislative Council of Hong Kong on June 12 Reuters Hong Kong: Extradition law protests continue into second week Police officers use a water canon on a lone protestor near the Legislative Council in Hong Kong on June 12 AFP/Getty Hong Kong: Extradition law protests continue into second week Protesters gather outside the Legislative Council in Hong Kong on June 12 AP Hong Kong: Extradition law protests continue into second week A protester waves a British flag outside the Legislative Council in Hong Kong on June 12 Getty Images Hong Kong: Extradition law protests continue into second week Protesters leap over barricades as they occupy roads by the Legislative Council in Hong Kong on June 12 AFP/Getty Hong Kong: Extradition law protests continue into second week Some protesters run after police fire tear gas during a protest against the extradition law proposal outside the Legislative Council of Hong Kong on June 12 AFP/Getty Hong Kong: Extradition law protests continue into second week Police officers use pepper spray against protesters during clashes after a rally against the extradition law proposal on June 10 AP Hong Kong: Extradition law protests continue into second week A protester sits down in front of riot police during a protest against the extradition law proposal on June 12 Reuters Hong Kong: Extradition law protests continue into second week Protesters sit in a demonstration following violence in the previous day of protests on June 13 Reuters Hong Kong: Extradition law protests continue into second week Protesters barricade themselves in an area outside the Hong Kong Legislative Council during clashes with police after a rally against the extradition law proposal in Hong Kong on June 10 AFP/Getty Hong Kong: Extradition law protests continue into second week A bloody-faced police officer is led away by a colleague after clashing with protesters in a rally against the extradition law proposal on June 10 AP Hong Kong: Extradition law protests continue into second week Protesters march through Hong Kong in opposition to the extradition law proposal on June 9 AFP/Getty Hong Kong: Extradition law protests continue into second week A protester sits in front of a riot police line during clashes between protesters and police following a protest in Hong Kong in opposition to the extradition law proposal on June 10 AFP/Getty Hong Kong: Extradition law protests continue into second week Protesters march through Hong Kong in opposition to the extradition law proposal on June 9 EPA Hong Kong: Extradition law protests continue into second week A protester lifts a barricade while a police officer charges in with his baton during clashes after a rally against the extradition law proposal in Hong Kong AFP/Getty Hong Kong: Extradition law protests continue into second week A protester is arrested during a clash after a rally against the extradition law proposal in Hong Kong on June 10 Getty Hong Kong: Extradition law protests continue into second week Protesters hold pictures of Hong Kong Chief Executive Carrie Lam during a rally against the extradition law proposal in Hong Kong on June 9 AP Hong Kong: Extradition law protests continue into second week A protester wave a Union Flag in front of police officers during a protest against the extradition law proposal in Hong Kong on June 10 Reuters Hong Kong: Extradition law protests continue into second week Protesters gather outside the Hong Kong Legislative Council during a rally against the extradition law proposal in Hong Kong on June 10 AFP/Getty Hong Kong: Extradition law protests continue into second week A protester is grabbed by a policeman as he crosses the police line during a rally against the extradition law proposal in Hong Kong on June 10 AP Hong Kong: Extradition law protests continue into second week Protesters gather outside the Hong Kong Legislative Council during a rally against the extradition law proposal in Hong Kong on June 10 AFP/Getty Hong Kong: Extradition law protests continue into second week A police officer detains a demonstrator during a protest to demand authorities scrap a proposed extradition bill with China, in Hong Kong, China June 9, 2019. REUTERS/Thomas Peter Reuters Hong Kong: Extradition law protests continue into second week Police officers detain a demonstrator during a protest during a rally against the extradition law proposal in Hong Kong on June 10 AP Hong Kong: Extradition law protests continue into second week A protester shouts next to police officers during a protest during a rally against the extradition law proposal in Hong Kong on June 10 AP Hong Kong: Extradition law protests continue into second week Protesters march through Hong Kong in opposition to the extradition law proposal on June 9 AP Hong Kong: Extradition law protests continue into second week Police officers detain a demonstrator during a protest during a rally against the extradition law proposal in Hong Kong on June 10 Reuters Hong Kong: Extradition law protests continue into second week Police officers detain a demonstrator during a protest during a rally against the extradition law proposal in Hong Kong on June 10 Reuters Hong Kong: Extradition law protests continue into second week Protesters gather in a park in Hong Kong opposition to the extradition law proposal on June 9 Reuters Hong Kong: Extradition law protests continue into second week A protester sits by ramshackle barriers after clashes between protesters and police following a protest in Hong Kong in opposition to the extradition law proposal on June 10 AP

Protesters used only secure digital messaging apps such as Telegram, and otherwise went completely analogue in their movements: buying single ride subway tickets instead of prepaid stored value cards, forgoing credit cards and mobile payments in favour of cash, and taking no selfies or photos of the chaos.

They wore face masks to obscure themselves from CCTV and in fear of facial recognition software, and bought fresh pay-as-you-go SIM cards.

And, unlike the pro-democracy movement in 2014, the latest demonstrations also have remained intentionally leaderless in another attempt to frustrate police, who have used tear gas and rubber bullets against the crowds.

Hong Kong chief executive Carrie Lam announced the postponement of the extradition bill, saying she hoped to return peace to the streets of the city, last week.

But the measure was not fully withdrawn and Ms Lam still expressed support.

Protesters, meanwhile, have again taken to the streets for another major show of defiance.

Amid the chaos, Hong Kong has offered a picture of what it looks like to stage mass civil disobedience in the age of the surveillance state.

“The Chinese government will do a lot of things to try to monitor their own people,” said Bonnie Leung, a leader of the Hong Kong-based Civil Human Rights Front (CHRF).

Ms Leung cited media coverage of Chinese use of artificial intelligence to track individuals and its social credit score system.

“We believe that could happen to Hong Kong, too,” she said.

The core of the protests is over the belief that Beijing – which was handed back control of the former British colony more than 20 years ago – is increasingly stripping Hong Kong of its cherished freedoms and autonomy.

But the identity-masking efforts by the protesters also reflects deep suspicions that lines between China and Hong Kong no longer exist – including close cooperation between Hong Kong police and their mainland counterparts who have among the most advanced and intrusive surveillance systems.

“It is the fundamental reason people are protesting in the first place,” said Antony Dapiran, who wrote a book on protest culture in Hong Kong.

What is actually going on in Hong Kong?

“They don’t trust Beijing, they don’t trust their authorities and the legal system, and they don’t like the blurring of lines between Beijing and Hong Kong.”

For many who had taken to the streets over the past week, the fight was a familiar one.

In 2014, protesters occupied Hong Kong’s main arteries for 79 days demanding full universal suffrage in the territory.

Prominent student leaders and activists marshalled up support night after night in mini cities that had been set up on Hong Kong’s thoroughfares, until they were eventually cleared out by police.

Today, all of the most prominent leaders of that movement – Joshua Wong, only a teenager at the time of the protests, legal scholar Benny Tai and Chan Kin-man, a sociology professor – are in jail.

The masses gathered around government buildings this week were without clear leaders.

Demonstrators shared protest tips and security measures with people they had met just hours before to avoid a similar fate. Meet-ups were primarily planned on Telegram, which became the top trending app on the iPhone app store in Hong Kong in the days leading up to the protest.

“Information on personal safety was passed around on Telegram channels and group chats,” said Caden, a 21-year-old Hong Kong student in Indiana who returned home early to participate.

He was among an estimated one million people marching on 7 June to begin the protest movement.

On the groups, Caden received a barrage of advice which included changing your username on Telegram so it sounds nothing like your actual name, changing your phone number associated with app and using SIM cards without a contract.

“We are much more cautious now for sure than in 2014. Back then, it was still kind of rare for the police to arrest people through social media,” Caden said, declining to give his full name for fear of retribution. “All of this is definitely new for most people there.”

Alexa noticed messages on Facebook, used by an older generation of Hong Kongers, warning people to mask their digital footprints and go cashless.

“People keep telling each other not to take pictures during the protest, and only to take wide shots without people’s faces on them,” she said.

It marked a huge change in sentiment for her, someone who had been attending peaceful demonstrations in Hong Kong with her family for years.

“We’d always take pictures and upload them to Facebook and so on, it would tell people you are there at the scene,” she said.

“But by now, everyone [has] equated the bill to cracking down on the Hong Kong legal system. We are all afraid that it won’t exist anymore.”

Hong kong police attack journalists: 'You're shooting at the press'

Hours before Wednesday’s occupation of Hong Kong roads, Hong Kong police arrested Ivan Ip, a coordinator of a Telegram group with thousands of people, in his home. He is currently out on bail.

Telegram also reported a massive cyber-attack, which the company said likely originated from China and were timed with the protest.

Samantha Hoffman, a fellow at the Australian Strategic Policy Institute’s Cyber Centre, said data collection methods used in China have specifically been designed to intimidate people from taking part in demonstrations.

She described the strategy as “killing the root before the weed can grow.”

“It’s a form of pre-emptive security,” she said

Still, researchers say it has been difficult to figure out the extent to which Hong Kong Police Force cooperates with the mainland on surveillance technology and tools.

The Hong Kong force says it sends around 150 officials every year for “ideological and practical” training at elite mainland police academies.

A larger number also receive regular training in “hand-to-hand combat, interrogation skills, criminal investigation and gun use,” according to news releases from the Chinese government.

And when a high speed rail link opened connecting Beijing to Hong Kong, Chinese police were allowed to enforce mainland laws in the rail terminus. The rail link opened last year, marking the first time mainland police were allowed to patrol Hong Kong as part of joint immigration checks.

Maya Wang, a senior China researcher at Human Rights Watch, said there is “very little transparency” about the cooperation between Hong Kong police and mainland authorities.

Wang also noted that Hong Kong is moving ahead with plans for more “smart city” initiatives – with little clarity on which companies would be assisting them in that task.

“People are concerned that their electronic traces can be collected and monitored as the city becomes more digitised,” she said.

Support free-thinking journalism and attend Independent events

“What about the Chinese companies that are assisting or involved with the collection of data in Hong Kong? Would they be passing that data back?”

Alexa, Caden and other protesters interviewed by The Washington Post say they remain undeterred and will continue to show up at demonstrations.

They have masks and goggles prepared, they say, both as a shield against police tactics like pepper spray and also to avoid potential facial recognition or other surveillance software.

“I do not think this is overly cautious. If we read books by George Orwell and we read histories about Communist Parties, of course this is not overly cautious,” said Ms Leung of CHRF.

“If I was not some sort of leader or coordinator of the Civil Human Rights Front, I may wear a face mask as well,” she added. “I can totally understand why people would want to hide their identities.”