ALBI, France — Fake news and alleged hacking attempts dominated France’s tense presidential campaign Thursday with just two days left for independent Emmanuel Macron and his far-right rival Marine Le Pen to win over voters before Sunday’s high-stakes runoff.

Paris prosecutors launched a preliminary investigation Thursday into whether fake news is being used to influence the voting as the two candidates campaigned in opposite parts of the country.

The move came hours after Macron filed suit against unknown source “X” after Le Pen suggested during their only one-on-one debate Wednesday night that the former banker could have an offshore account.

“I hope we won’t find out you have an offshore account in the Bahamas,” Le Pen said.

She appeared to be referring to two sets of apparent forgeries, published just hours before their heated showdown that purported to show Macron was somehow involved with a Caribbean bank and a firm based on the island of Nevis.

Macron’s camp said the former investment banker was the victim of a “cyber-misinformation campaign.”

Speaking on France Inter radio, Macron blamed Le Pen for spreading “fake news” and said he never held a bank account “in any tax haven whatsoever.”

Macron, meanwhile, got support from across the ocean.

In a message posted Thursday on Macron’s Twitter account, former U.S. President Barack Obama said he was endorsing the centrist candidate “because of how important this election is.”

“The French election is very important to the future of France and the values that we care so much about,” Obama said.

Obama ended his message with the words “En Marche” — which is the name of Macron’s political movement and “Vive La France.”

On the campaign trail, Macron visited disgruntled workers Thursday at a glass factory in Albi near the southern city of Toulouse before holding his last campaign rally, in which he called on voters from the left and the right to choose his pro-business, pro-European platform.

Macron arrived to booing and slogan-shouting from dozens of protesting workers. But after 15 minutes of talking, the 39-year-old front-runner managed to calm some of their anger.

Union leader Michel Parraud called Macron “very kind and very polite,” although he said he didn’t think the centrist candidate would do much for factory workers.

Macron pledged to “give strength back to the country” and “build a more efficient and fair society.”

Le Pen quickly backed away from the suggestion Macron might have an offshore account, but prosecutors soon launched a probe into suspicions of forgery and the spreading false news in order to divert votes.

In a subsequent twist, Le Pen’s campaign said a hacker confessed to repeatedly targeting its website.