这个消息其实很早Google就放出了。

早在1月25号左右,Fedora打包的Chromium就已经移除了账号同步功能。

Fedora’s Chromium maintainer suggests switching to Firefox as Google yanks features in favour of Chrome

‘They’re not closing a security hole, they’re just requiring that everyone use Chrome’

FEDORA-2021-48866282e5 created by spot for Fedora 33

This is probably not the update you want.

Let me be clear, it does fix the security vulnerabilities in this list:

CVE-2020-16044 CVE-2021-21118 CVE-2021-21119 CVE-2021-21120 CVE-2021-21121 CVE-2021-21122 CVE-2021-21123 CVE-2021-21124 CVE-2021-21125 CVE-2021-21126 CVE-2021-21127 CVE-2021-21129 CVE-2021-21130 CVE-2021-21131 CVE-2021-21132 CVE-2021-21133 CVE-2021-21134 CVE-2021-21135 CVE-2021-21136 CVE-2021-21137 CVE-2021-21138 CVE-2021-21139 CVE-2021-21140 CVE-2021-21141 CVE-2021-21117 CVE-2021-21128

But it will not behave like Google Chrome does.

Google has announced that it is cutting off access to the Sync and “other Google Exclusive” APIs from all builds except Google Chrome. This will make the Fedora Chromium build significantly less functional (along with every other distro packaged Chromium). It is noteworthy that Google gave the builders of distribution Chromium packages these access rights back in 2013 via API keys, specifically so that we could have open source builds of Chromium with (near) feature parity to Chrome. And now they’re taking it away. The reasoning given for this change? Google does not want users to be able to “access their personal Chrome Sync data (such as bookmarks) … with a non-Google, Chromium-based browser.” They’re not closing a security hole, they’re just requiring that everyone use Chrome.

Or to put it bluntly, they do not want you to access their Google API functionality without using proprietary software (Google Chrome). There is no good reason for Google to do this, other than to force people to use Chrome.

I gave a lot of thought to whether I wanted to continue to maintain the Chromium package in Fedora, given that many (most?) users will be confused/annoyed when API functionality like sync and geolocation stops working for no good reason. Ultimately, I decided to continue for now, because there were at least some users who didn’t mind, and if I stopped, someone else would start over and run blindly into this problem.

I would say that you might want to reconsider whether you want to use Chromium or not. If you want the full “Google” experience, you can run the proprietary Chrome. If you want to use a FOSS browser that isn’t hobbled, there is a Firefox package in Fedora.

Oh, last, but not least, Google isn’t shutting off the API access until March 15, 2021, but I have gone ahead and disabled it starting with this update. I’d rather you read about it here (even though most users will never see this) than have it just happen.

根据 omg!ubuntu 的文章,主要被砍掉的功能包括:

  • Google account sync
  • Geolocation
  • Click to Call
  • Chrome spelling API
  • Contacts API
  • Chrome translate element

不用Chromium,选哪个?

Mozilla Firefox

开源产品里面,好像基本上没太多选择,大家一致推荐Mozilla Firefox.

老灯用Mozilla Firefox也比较多,但是,最近反而是这个Chromium浏览器事件,使得我重新思考, 是不是要弃Firefox而转用其它了。

这么多年了,Firefox的渲染和网页打开速度还是PK不过Chrome(或Chromium系). 我4K 浏览器,每天打开Firefox 都要按 F11 最大化 Firefox, 然后再切回正常大小。而我这波操作完全只是为了让Firefox恢复正常的窗体大小,这么多年了,Firefox这点事都做不好。 还有一个一直存在的“background-color 样式在 Linux 下不工作”的问题,见 我之前的文章

不过Firefox也有很多地方做得不错的,比如浏览器项目一直坚做持下来了,还搞出来个Rust语言。

还有 Firefox开发者版 开箱即用,对开发者比较友好。自带的 lockwise app (iOS/Android) 可以自动同步Firefox记录的密码,相当于一个比较简陋版的 1Password 之类的app了。lockwise 能够满足基本需求,我也用了蛮久的。

Chrome

习惯了Google系的,可以选择用闭源的 Chrome.

除了stable版,这个repo还有 google-chrome-beta 和 google-chrome-unstable

# Fedora 33
dnf install fedora-workstation-repositories
dnf config-manager --set-enabled google-chrome
sudo dnf install google-chrome-stable

# CentOS/RHEL 8.2/7.8
cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
EOF

# Ubuntu
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 

sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

sudo apt-get update 
sudo apt-get install google-chrome-stable

Microsoft Edge

喜欢巨硬全家桶的,可以选 Microsoft Edge , 老灯在Fedora 33 上安装了 Edge Linux 开发预览版,目前来说体验一般,打开页面速度也不快。另外,账号同步功能也还不可用。等吧。

安装:

# Fedora
## Setup
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge
sudo mv /etc/yum.repos.d/packages.microsoft.com_yumrepos_edge.repo /etc/yum.repos.d/microsoft-edge-dev.repo
## Install
sudo dnf install microsoft-edge-dev


# Debian/Ubuntu
## Setup
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
sudo rm microsoft.gpg
## Install
sudo apt update
sudo apt install microsoft-edge-dev

Vivaldi

这个是啥?根据ArchLinux的wiki:

Vivaldi is a new web browser from former  Opera founder & team members, based on  Chromium and focused on personalization aspects.

Vivaldi 自带广告过滤器+鼠标手势。tab和窗体背景能自动根据网页主色调变色。侧边栏。

主打隐私?(这个嘛,官方宣称zero tracking)。能安装Google Chrome插件。

官方没有提供 Arch 包,好在 有热心的社区贡献者

官网:看看大众对 VIVALDI 的评价

对Vivaldi最新版本的第一印象 - 它比Firefox更快。– Barry Collins via twitter

我看了有点想笑,哈哈哈哈哈哈哈哈

这么多年了,Firefox 还是这么慢。

it’s faster than Firefox.

it’s faster than Firefox.

it’s faster than Firefox.

it’s faster than Firefox.

安装指导 ->

# DNF (Fedora)
sudo dnf config-manager --add-repo https://repo.vivaldi.com/archive/vivaldi-fedora.repo
sudo dnf install vivaldi-stable

# APT (Utuntu/Debian)
# apt-key is deprecated
curl https://repo.vivaldi.com/archive/linux_signing_key.pub  | gpg --dearmor > vivaldi.gpg
sudo install -o root -g root -m 644 vivaldi.gpg /etc/apt/trusted.gpg.d/
sudo rm vivaldi.gpg
sudo add-apt-repository 'deb https://repo.vivaldi.com/archive/deb/ stable main'
sudo apt update && sudo apt install vivaldi-stable

# H.264 and AAC support
sudo apt-get install chromium-codecs-ffmpeg-extra


# Pacman see https://wiki.archlinux.org/index.php/Vivaldi
# for media codec installation guide
sudo pacman -S vivaldi

我要吐槽一下,Vivaldi repo 那个服务器是真的慢。。。基本上64KB/s的下载速度。

https://vivaldi.com/blog/troubleshoot-common-problems-vivaldi/

https://vivaldi.com/blog/browse-fast-with-mouse-gestures/

https://vivaldi.com/blog/vivaldi-browser-open-source/

Vivaldi 老灯试用了两天,有发现一些奇怪的问题,比如有些页面打不开或很慢(跟Firefox一样),但是换成Chrome就能打开或者打开很快。另外,在有些情况下,多打开一些页面会导致 Vivaldi 吃到 100% 的 CPU 从而导致Vivaldi浏览器自身假死或非常卡。

默认不支持H264和 AAC 解压,需要额外安装包,见 https://gist.github.com/BlackIkeEagle/5c00face3c7a0f98847a

https://gist.github.com/cega/258ca210e4cd3f02cdca5b721b9045ba

安装完记得打开 https://help.vivaldi.com/desktop/media/html5-proprietary-media-on-linux/ 测试一下 H.264 (video) and AAC (audio)支持。

这个页面有更多的测试面: https://html5test.com/index.html

更多资料可参考 How to use H.264 support In Vivaldi, via an alternative FFMpeg library

refs

https://www.theregister.com/2021/01/25/use_firefox_fedora_chromium_maintainer/

https://bodhi.fedoraproject.org/updates/FEDORA-2021-48866282e5

https://www.omgubuntu.co.uk/2021/01/chromium-sync-google-api-removed

https://vivaldi.com/zh-hans/

https://help.vivaldi.com/desktop/install-update/manual-setup-vivaldi-linux-repositories/

https://www.microsoftedgeinsider.com/en-us/download?platform=linux-rpm

https://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/

https://www.ubuntuupdates.org/ppa/google_chrome