It’s been a loooooong time since the last update. Just cause I’m too lazy. X P
Chrome removed Baidu Exporter from Chrome App Store
due to some unknown Python transactionrecently. Due to security reason Chrome will disable extensions import locally with unknown source. You will get annoying popups every time launching Chrome if unpacked extensions are loaded.
So in this thread I’ll provide a better solution to load Baidu Exporter with the latest build using Windows Group Policy. This solution inspired by ungrown@Github, thanks.
Download the extension
Clone or download the latest copy of Baidu Exporter from here.
Package the extension
This step is unnecessary if you have the complied version.
- Launch Chrome, open
Pack extensionon top-left.
- Browse the code you just downloaded, click
- The newly built extension will be found in the source folder with a
*.pemfile, keep them all, you will need that
.pemfile if you want to update the extension in the furture.
- Drag the
*.crxfile to the
chrome://extensionpage to install it. Select the
Developer Modecheckbox to show the hidden extension ID, save it somewhere.
Apply Chrome policy using Group Policy Editor
See For MacOS Users if you are using MacOS.
- Download the zip file of Chrome templates from here.
- Extract the following files or folders into
gpedit.msc. A sub-folder named
Google / Google Chromecan be found under
Local Computer Policy > Computer Configuration > Administrative Templates. (Ps. The group policy editor is not embeded with starter and home editions. Follow this guide to install it first. (Thanks @metafaniel for refering this issue.))
Add the extension ID to whitelist
Add the extension ID by the following steps:
- Navigate to
Administrative Templates / Google / Google Chrome / Extensionssection.
- Double click to open
Configure extension installation whiteliston the right side.
- Enable the policy and click
Show...to add the extension ID.
The extension will be enabled by default after Chrome relaunched.