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 transaction recently. 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 [email protected], thanks.
Download the extension
Clone or download the latest copy of Baidu Exporter from here.
Package the extension
- Launch Chrome, open
- Browse the code you just downloaded,
- 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 load it. But \the extension will be disabled if Chrome relaunched. Also, copy the extension id to somewhere like a notepad. You will need it later.
Apply Chrome policy using Group Policy Editor
For Mac users, scroll down to the last section. There is a better solution for you.
- Download the zip file of Chrome templates from here.
- Extract the
- Navigate to Start > Run:
gpedit.msc. For those why running a Windows 10 or any starter or home edition, the group policy editor is not embeded by default. Follow this guide to enable it first. (Thanks @metafaniel for refering this issue.)
- Navigate to
Local Computer Policy>
Administrative Templates, and select
- Add the
chrome.admtemplate via the dialog.
- Once complete, a
Google / Google Chromefolder will appear under
Administrative Templatesif it’s not already there. If you added the ADM template on Windows 7 or 8.1, it will appear under
Classic Administrative Templates / Google / Google Chrome.
Add it to whitelist
Add the extension by the following steps:
- Navigate to
Classic Administrative Templates / Google / Google Chrome / Extensionssecition.
- Double click to open
Configure extension installation whiteliston the right side.
- Enable the policy and add the extenison id to the whitelist.
The extension will be enabled by default after Chrome relaunched.
For Mac users
The solution for MacOS comes from [email protected], thanks.
- Download the following policy template.
- Add the extension ID to line 19, delete line 20 and 21 if you don’t need it. Save.
- Double click to import this policy. Reboot.