Beautifully designed night mode / dark theme for Baidu.

Latest Version

Version
1.1.7
Update
August 3, 2024
Size
120KiB
Developer
maorx.cn
Category
Users
1,000+
Rating
4.72727 ★
Manifest Version
3
Web Store Status
Languages Support
English
中文 (简体)
See more
Permissions
Storage
Tabs
See more

DuNight - Night Mode for Baidu Extension

This extension improves the UI of the Baidu search results pages, and offers you a beautifully designed night mode / dark theme for Baidu.

Different from most other night mode / dark theme extensions, this extension is specially developed for Baidu search results pages, being carefully designed to achieve the best visual experience that other similar extensions cannot compare.


/// IMPORTANT /// After installing this extension:

1. Please disable other similar extensions to avoid any compatibility issues.
2. Make sure the dark mode / night theme of YOUR OPERATION SYSTEM & YOUR BROWSER is turned ON.
3. Open a Baidu search results page (the page's url MUST begins with https://www.baidu.com/s?, for example, https://www.baidu.com/s?word=test). Other pages of Baidu (including its home page, www.baidu.com) will NOT see the effect.
4. You will see that the Baidu search results page now has a dark appearance. If nothing changes, please recheck the step 1 to 3, and refresh the Baidu search results page.

The night mode / dark theme of Baidu search results pages which is added by this extension will be turned on / off automatically synchronized with the dark theme settings of YOUR BROWSER (subsequent versions will support more detailed customization).


Required permissions:

- storage: used to save your customized settings for this extension, such as whether to turn the main function on / off.
- tabs: when you submit bug feedback through the popup page of this extension, it is used to judge whether the current tab is a Baidu search results page, so that you can copy the URL of the page in which bug exists with one click.
- This extension does not store or upload any of your personal information.


Contact me:

Weibo @Mobius_Beta
bilibili @是毛布斯呀
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 3,\t"name": "__MSG_extName__",\t"description": "__MSG_extDescription__",\t"version": "1.1.7",\t"icons": {\t\t"512": "images/dunight-icon-512.png",\t\t"256": "images/dunight-icon-256.png",\t\t"128": "images/dunight-icon-128.png",\t\t"64": "images/dunight-icon-64.png"\t},\t"default_locale": "zh_CN",\t"minimum_chrome_version": "88",\t"action": {\t\t"default_icon": {\t\t\t"512": "images/dunight-icon-512.png",\t\t\t"256": "images/dunight-icon-256.png",\t\t\t"128": "images/dunight-icon-128.png",\t\t\t"64": "images/dunight-icon-64.png"\t\t},\t\t"default_popup": "popup.html"\t},\t"content_scripts": [\t\t{\t\t\t"matches": [\t\t\t\t"https://www.baidu.com/",\t\t\t\t"https://www.baidu.com/?*",\t\t\t\t"https://www.baidu.com/s?*"\t\t\t],\t\t\t"js": [\t\t\t\t"scripts/dunight.js"\t\t\t],\t\t\t"css": [\t\t\t\t"styles/dunight.css"\t\t\t],\t\t\t"run_at": "document_start"\t\t}\t],\t"permissions": [\t\t"storage",\t\t"tabs"\t],\t"homepage_url": "https://dunight.cn"}
Read more