The headquarters of the opposition to President Donald Trump has, it seems, relocated from Washington DC to Silicon Valley.

To the fury of American progressives, Democratic Senators have been tamely waving through most of Donald Trump’s cabinet nominees (three have backed every one of them to date). Some have talked about working with the new administration.

In the absence of anything resembling a spine from the official opposition in Washington DC, America’s tech giants have stepped up, alongside the right’s more traditional foes in the arts and entertainment world, to fiercely oppose the President's deeply divisive immigration policies.

Nearly 100 American companies have filed an impassioned legal brief condemning President Donald Trump’s executive order barring entry to the citizens from seven Muslim majority countries.

Among them are some of the biggest names in tech: Apple, Google owner Alphabet, Netflix, Snap, Uber, Lyft, and so on.

“Immigrants make many of the Nation’s greatest discoveries, and create some of the country’s most innovative and iconic companies,” it states. Notably Apple, which, as has been much discussed, was co-founded by the son of a Syrian immigrant in the form of the late Steve Jobs.

The brief pays due regard to the “importance of protecting ourselves against those who would do us harm” but stresses “maintaining our fundamental commitment to welcoming immigrants” while so doing.

We are told that an open letter to Mr Trump is also planned. Meanwhile Uber’s Travis Kalanick had to withdraw from a role advising the President under pressure from his own staff, while Amazon is being pressed to stop advertising on Trump cheerleader site Breitbart. Business superstar Elon Musk, another Presidential advisor, had to defend his role on Twitter over the weekend, arguing that the President needed to hear from moderate voices.

Money has, meanwhile, flowed from the Valley’s employees to the American Civil Liberties Union, among other progressive causes.

Now, there is a degree of enlightened self interest at work in this Silicon salvo. The Valley relies upon clever coders, and a lot of them come from overseas. If President Trump’s policies restrict the supply of them then its businesses will be put at risk.

It is also in the interests of the technology industry's big guns to keep the clever coders already employed happy. As a rule, they lean liberal, and are entirely comfortable with the diversity they see around them. Lots of them would like to think their employers share their values.

However, there is such a thing as measured opposition, something more commonly found among big companies, and then there is what the tech giants have done, which is rather more substantive. There is the sedate expression of mild disapproval while quietly cheering plans to cut taxes. And there is putting the corporate name on a legal brief, and the CEO's name to a (presumably strongly worded) letter.

Some might say it is unfair to juxtapose corporate opposition to a divisive immigration policy against cabinet confirmation hearings, but latter has been tame, the former, fierce.

Business news: In pictures Show all 13 1 /13 Business news: In pictures Business news: In pictures Flybe collapses Airline Flybe has collapsed. All future flights on the Exeter-based airline have been cancelled – leaving more than 2,300 staff facing an uncertain future, and wrecking the travel plans of hundreds of thousands of passengers. The chief executive, Mark Anderson, said: “Europe’s largest independent regional airline has been unable to overcome significant funding challenges to its business. AFP via Getty Business news: In pictures Future product placement will be 'tailored to individual viewers' Marketing executives say that product placement in films and televison shows on streaming services such as Netflix may be tailored to individuals in future. For instance, if data shows that a viewer is a fan of pepsi, a billboard in the background of a shot would host an advert for pepsi, while for a viewer known to have different tastes it could be for Coca-Cola Paramount Business news: In pictures Corbyn wishes Amazon a happy birthday In a card sent to Amazon CEO Jeff Bezos on the company's 25th birthday, Labour leader Jeremy Corbyn writes: "You owe the British people millions in taxes that pay for the public services that we all rely on. Please pay your fair share" Business news: In pictures No deal, no tariffs The government has announced that it would slash almost all tariffs in the event of a no-deal Brexit. Notable exceptions include cars and meat, which will see tariffs in place to protect British farmers Getty Business news: In pictures Fingerprint payment NatWest is trialling a new bank card that will allow people to touch their hand to the card when paying rather than typing in a PIN number. The card will work by recognising the user's fingerprint NatWest/PA Wire Business news: In pictures Mahabis bust High-end slipper retailer Mahabis has gone into administration. 2 Jan 2019 Mahabis Business news: In pictures Costa Cola Coca-Cola has paid £3.9bn for Costa Coffee. A cafe chain is a new venture for the global soft drinks giant PA Business news: In pictures RIP Payday Loans A funeral procession for payday loans was held in London on September 2. The future of pay day lenders is in doubt after Wonga, Britain's biggest, went into administration on August 30 PA Business news: In pictures Musk irks investors and directors Elon Musk has concluded that Tesla will remain public. Investors and company directors were angry at Musk for tweeting unexpectedly that he was considering taking Tesla private and share prices had taken a tumble in the following weeks Getty Business news: In pictures Jaguar warning Iconic British car maker Jaguar Land Rover warned on July 5, 2018 that a "bad" Brexit deal could jeopardise planned investment of more than $100 billion, upping corporate pressure as the government heads into crucial talks AFP/Getty Business news: In pictures Spotif-IPO Spotify traded publically for the first time on the New York Stock Exchange on Tuesday. However, the company isn't issuing shares, but rather, shares held by Spotify's private investors will be sold AFP/Getty Business news: In pictures French blue passports The deadline to award a contract to make blue British passports after Brexit has been extended by two weeks following a request by bidder De La Rue. The move comes after anger at the announcement British passports would be produced by Franco-Dutch firm Gemalto when De La Rue’s contract ends in July. The British firm said Gemalto was chosen only because it undercut the competition, but the UK company also admitted that it was not the cheapest choice in the tendering process. Business news: In pictures Beast from the east economic impact The Beast from the East wiped £4m off of Flybe’s revenues due to flight cancellations, airport closures and delays, according to the budget airline’s estimates. Flybe said it cancelled 994 flights in the three months to 31 March, compared to 372 in the same period last year.

At this point, a cynic might suggest that, in taking on the role of opposition leaders, these big companies are simply cutting out the middle men and women, who rely on their largesse to get into office and then act as their proxies. Silicon Valley's leaders may also realise that Mr Trump needs them, and the contribution they make to the US economy.

Still, what they have done matters. As a general rule, businesses should stay out of politics. But in a dangerous time, and with a very dangerous man in the White House, any and all such salvos are to be welcomed, particularly at a time when the official opposition is so weak.