Chromium on Debian not loading extensions anymore

For some reason this happened:

chromium-browser (55.0.2883.75-4) unstable; urgency=medium

* External extensions are now disabled by default. Chromium will only load
extensions that are explicitly specified with the –load-extension command
line option passed into CHROMIUM_FLAGS. See the chromium-lwn4chrome
package for an example of how to do this.
* You can also use the –enable-remote-extensions command line argument to
chromium, which will bypass this restriction.

Not only that — they completely broke the launcher script in doing so:
echo " --enable-remote-extensions Allow extensions from remote sites

Missing something? It’s a close-quote. Nice one to release out into the wild. They fixed it a little while later but it was interesting to see.

So to get Chromium acting as it used to, we can do this:

1.) Copy the chromium.desktop file to our local applications folder:
cp /usr/share/applications/chromium.desktop ~/.local/share/applications/

2.) Edit this newly copied file to add the –enable-remote-extensions flag on the line beginning in ‘Exec’ (near the bottom of the file):
Exec=/usr/bin/chromium --enable-remote-extensions %U

3.) Tell our system that we trust this new .desktop file by giving it execute permissions:
chmod +x ~/.local/share/applications/chromium.desktop

4.) If running gnome-shell, hit Alt+F2 and type the r key and hit Enter/Return to restart the window manager (and reload the local applications folder).

At this point you will have Chromium back to normal loading your extensions.