- 🎨 Modern Dark Theme: Beautiful glassmorphism design with smooth animations
- 🔍 Multi-Engine Search: Built-in support for Google, Bing, and DuckDuckGo
- ⚙️ Custom Search Engines: Add your own search engines with custom URLs
- 🔖 Quick Shortcuts: Create shortcuts to your favorite websites with auto-fetched favicons
- 🖼️ Custom Wallpapers: Upload your own background images (up to 50MB, 50MP) with drag-and-drop support
- 🌅 Bing Daily Wallpaper: Beautiful daily wallpapers from Bing with smart 24-hour caching and preloading
- ⚡ High-Performance Image Processing: Web Worker support, progressive preview, and intelligent compression
- 🌍 Multi-language: English, Simplified Chinese, Traditional Chinese, Japanese, Spanish, French
- ♿ Accessibility: High contrast themes, font controls, animation settings, keyboard shortcuts
- ⌨️ Keyboard Shortcuts: Quick engine switching (Alt+↑↓), focus search (/), open settings (Alt+,)
- 💾 Smart Caching: Icon caching, wallpaper caching, and processing result caching for faster loading
- 🎯 Clean & Minimal: Distraction-free interface focused on what matters
-
Clone this repository:
git clone https://github.com/zayokami/GenresFox.git
-
Open Chrome/Edge and navigate to
chrome://extensions/ -
Enable "Developer mode" in the top right corner
-
Click "Load unpacked" and select the
srcfolder -
Enjoy your new tab page!
Coming soon...
- Simply type in the search box and press Enter
- Click the search engine icon to switch between different engines
- URLs are automatically detected and opened directly
- Click the settings icon (⚙️) in the bottom right
- Go to "Search & Shortcuts" tab
- Enter the engine name and URL (use
%sas the search query placeholder)- Example:
https://kagi.com/search?q=%s
- Example:
- Click "Add"
- Open settings and go to "Search & Shortcuts" tab
- Scroll to the "Shortcuts" section
- Enter the name and URL of your favorite website
- The favicon will be automatically fetched
- Open settings and go to "Wallpaper" tab
- Drag and drop an image or click to upload
- Maximum file size: 50MB, maximum resolution: 50 megapixels
- Images are automatically optimized and compressed for storage efficiency
- Click "Reset to Default" to restore the original background
GenresFox/
├── src/
│ ├── _locales/ # Internationalization files
│ │ ├── en/
│ │ ├── es/
│ │ ├── fr/
│ │ ├── ja/
│ │ ├── zh_CN/
│ │ └── zh_TW/
│ ├── icon.png # Extension icon
│ ├── manifest.json # Extension manifest
│ ├── newtab.html # Main HTML file
│ ├── script.js # Main JavaScript logic
│ ├── search.js # Search bar & search button logic
│ ├── i18n.js # Internationalization module
│ ├── wallpaper.js # Wallpaper management module
│ ├── accessibility.js # Accessibility features module
│ ├── image-processor.js # High-performance image processing module
│ ├── image-worker.js # Web Worker for background image processing
│ ├── styles.css # Main styles
│ ├── search.css # Search bar styles
│ └── accessibility.css # Accessibility styles
├── CHANGELOG.md
└── README.md
- Manifest V3: Latest Chrome extension standard
- Vanilla JavaScript: No frameworks, pure performance
- CSS3: Modern styling with glassmorphism effects
- Web Workers: Background image processing without blocking UI
- IndexedDB: For storing large wallpaper files and cache
- LocalStorage: For persistent settings and metadata caching
- Chrome Extension APIs: For internationalization and browser integration
- Create a new folder in
src/_locales/with the language code (e.g.,frfor French) - Copy
messages.jsonfromenfolder - Translate all message values
- Add the language to
_fallbackMessagesinsrc/i18n.js - Update
_supportedLanguagesarray and_detectLanguage()function - Add a language switch entry if needed in UI
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
zayoka
- Inspired by modern web design trends
- Icons from Google Material Design
- Favicon service by DuckDuckGo (primary) and Google s2 (fallback)
- Daily wallpapers by Bing
- 🎨 现代深色主题: 精美的玻璃态设计,流畅的动画效果
- 🔍 多引擎搜索: 内置支持 Google、Bing 和 DuckDuckGo
- ⚙️ 自定义搜索引擎: 添加您自己的搜索引擎和自定义 URL
- 🔖 快捷方式: 创建常用网站的快捷方式,自动获取网站图标
- 🖼️ 自定义壁纸: 上传您自己的背景图片(最大 50MB,5000万像素),支持拖放上传
- 🌅 必应每日壁纸: 来自必应的精美每日壁纸,支持智能24小时缓存和预加载
- ⚡ 高性能图片处理: Web Worker 支持、渐进式预览、智能压缩
- 🌍 多语言支持: 简体中文、繁体中文、日语、英语、西班牙语、法语
- ♿ 无障碍功能: 高对比度主题、字体控制、动画设置、键盘快捷键
- ⌨️ 键盘快捷键: 快速切换搜索引擎 (Alt+↑↓)、聚焦搜索框 (/)、打开设置 (Alt+,)
- 💾 智能缓存: 图标缓存、壁纸缓存、处理结果缓存,加快加载速度
- 🎯 简洁极简: 无干扰界面,专注于重要内容
-
克隆此仓库:
git clone https://github.com/zayokami/GenresFox.git
-
打开 Chrome/Edge 浏览器,访问
chrome://extensions/ -
在右上角启用"开发者模式"
-
点击"加载已解压的扩展程序",选择
src文件夹 -
开始使用吧!
即将推出...
- 在搜索框中输入内容并按回车
- 点击搜索引擎图标可切换不同的搜索引擎
- 网址会被自动识别并直接打开
- 点击右下角的设置图标(⚙️)
- 进入"搜索与快捷方式"标签页
- 输入引擎名称和 URL(使用
%s作为搜索关键词占位符)- 示例:
https://kagi.com/search?q=%s
- 示例:
- 点击"添加"
- 打开设置,进入"搜索与快捷方式"标签页
- 滚动到"快捷方式"部分
- 输入您喜欢的网站名称和 URL
- 网站图标会自动获取
- 打开设置,进入"壁纸"标签页
- 拖放图片或点击上传
- 最大文件大小:50MB,最大分辨率:5000万像素
- 图片会自动优化和压缩以提高存储效率
- 点击"恢复默认"可还原原始背景
GenresFox/
├── src/
│ ├── _locales/ # 国际化文件
│ │ ├── en/
│ │ ├── es/
│ │ ├── fr/
│ │ ├── ja/
│ │ ├── zh_CN/
│ │ └── zh_TW/
│ ├── icon.png # 扩展图标
│ ├── manifest.json # 扩展清单
│ ├── newtab.html # 主 HTML 文件
│ ├── script.js # 主 JavaScript 逻辑
│ ├── search.js # 搜索栏与搜索按钮逻辑
│ ├── i18n.js # 国际化模块
│ ├── wallpaper.js # 壁纸管理模块
│ ├── accessibility.js # 无障碍功能模块
│ ├── image-processor.js # 高性能图片处理模块
│ ├── image-worker.js # Web Worker 后台图片处理
│ ├── styles.css # 主样式文件
│ ├── search.css # 搜索栏样式文件
│ └── accessibility.css # 无障碍样式文件
├── CHANGELOG.md
└── README.md
- Manifest V3: 最新的 Chrome 扩展标准
- 原生 JavaScript: 无框架依赖,纯粹的性能
- CSS3: 现代样式与玻璃态效果
- Web Workers: 后台图片处理,不阻塞 UI
- IndexedDB: 用于存储大型壁纸文件和缓存
- LocalStorage: 用于持久化设置和元数据缓存
- Chrome 扩展 API: 用于国际化和浏览器集成
- 在
src/_locales/中创建新文件夹,使用语言代码命名(如fr表示法语) - 从
en文件夹复制messages.json - 翻译所有消息值
- 在
src/i18n.js的_fallbackMessages中添加该语言 - 更新
_supportedLanguages数组和_detectLanguage()函数 - 如需在界面中显示语言切换入口,请同步新增
欢迎贡献!请随时提交 Pull Request。
- Fork 本项目
- 创建您的特性分支 (
git checkout -b feature/AmazingFeature) - 提交您的更改 (
git commit -m 'Add some AmazingFeature') - 推送到分支 (
git push origin feature/AmazingFeature) - 打开一个 Pull Request
本项目采用 MIT 许可证 - 详见 LICENSE 文件。
zayoka
- 灵感来自现代网页设计趋势
- 图标来自 Google Material Design
- Favicon 服务由 DuckDuckGo(主)与 Google s2(备)提供
- 每日壁纸由 Bing 提供
如果这个项目对您有帮助,请给它一个 ⭐️!
If this project has been helpful to you, please give it a ⭐️!
Made with ❤️ by zayoka
