Skip to content
Un1quer23Public

About

Clean Chromium new tab extension with quick search, multi-engine switching, themes, and appearance customization

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

WillowTab

Languages: English | 简体中文

WillowTab is a clean and elegant new tab extension for Chromium-based browsers. It provides a focused search entry, multi-engine search switching, light and dark themes, and personal appearance settings so every new tab feels quieter and more comfortable.

WillowTab main page

Key Features

Clean Search Entry and Multi-Engine Switching

Use the centered search box to start searching quickly. WillowTab supports Google, Baidu, Bing, and DuckDuckGo, so you can choose the engine that fits your habits. You can also enable search suggestions to make keyword entry smoother.

Personal Backgrounds

Use a solid color background or wallpapers:

  • Solid color mode offers 6 curated light palettes and 4 curated dark palettes defined as layered semantic tokens; legacy custom HEX colors migrate deterministically in OKLCH space to the nearest light preset on load.
  • Wallpaper mode supports local images/folders with batch management, drag reordering, and automatic rotation, plus opt-in Bing Daily Wallpapers (8-day local cache, attribution link, and one-click save to local library). WillowTab adapts text, controls, and the search surface to the active wallpaper.

Light and Dark Themes

Choose light mode, dark mode, or follow the system appearance so the page stays comfortable across different times of day and usage environments.

Appearance Customization

Open the split-stage live-preview settings panel from the search engine menu → Settings or with Alt + , (with a first-run onboarding guide). Customize:

  • 3 search bar glass styles (crystal, classic, minimal) and shadow strength
  • 3 canvas fonts (system sans, serif, monospace) isolated from the settings UI font
  • 6 clock styles (mono, serif, sans, stacked, analog, flip), 12/24-hour format, seconds toggle, 4 subtitle modes, and custom search motto
  • Custom browser tab title

Privacy-Friendly

WillowTab does not collect, track, or sell personal data. Optional network features (search suggestions and Bing Daily Wallpapers) respect your settings and only query their respective services when enabled.

WillowTab is for people who want a new tab page that stays simple, beautiful, and efficient without adding distracting information.

Technical Implementation

Adaptive Color and Rendered-Surface Analysis

WillowTab treats contrast as a semantic-role and final-rendered-surface problem rather than switching between one fixed light color and one fixed dark color.

flowchart TD
    A["Background and presentation state"] --> B{"Background mode"}
    B -->|Solid color| C["css/style.css<br/>Layered 6 light + 4 dark semantic palettes"]
    C --> D["color.js<br/>OKLCH contrast solver and legacy HEX migration"]
    B -->|Wallpaper| E["wallpaper-color.js<br/>Actual cover crop at viewport and DPR"]
    E --> F["Final surface composition<br/>Overlay, readability, glass blur and SVG masks"]
    D --> G["Role-specific contrast checks"]
    F --> G
    H["Targets by role and mode<br/><br/>Static light & dark palettes<br/>Clock: >= 6.0:1 | Flip cards: >= 9.0:1<br/>Input text: >= 7.0:1 | Controls & body: >= 4.5:1<br/><br/>Wallpaper mode<br/>Clock and paired search controls: 4.5:1"] --> G
    G --> I["Semantic CSS variables"]
    I --> J["Clock, text and search controls"]
    K["Versioned cache keys and generation tokens"] -. Guard asynchronous analysis .-> E
Loading
  • css/style.css uses @layer reset, tokens, base, components, modes, states, utilities; and defines semantic tokens for 6 light presets and 4 dark presets, UI panels, three search glass styles, and wallpaper glass. Components consume these semantic roles instead of sharing raw light/dark color values. Across both light and dark static palettes, contrast targets are >= 6.0:1 for the clock over primary/tertiary canvas backgrounds, >= 9.0:1 inside flip clock cards, >= 7.0:1 for search input text, >= 4.5:1 for primary/secondary canvas text, placeholders, search controls, and accents, and >= 3.8:1 for the decorative motto; panel chrome enforces >= 4.5:1 in light mode, >= 6.0:1 in dark mode, >= 7.0:1 on toasts, and >= 10.0:1 self-contrast on the double focus ring.
  • js/color.js exports the curated LIGHT_PRESETS and DARK_PRESETS tables, OKLCH / WCAG contrast helpers (readableColor, minimumContrast), and findNearestLightPalette for deterministic migration of legacy palette IDs and custom HEX colors into the nearest light preset.
  • js/wallpaper-color.js samples the actual cover crop at the current viewport and DPR, composites the global overlay and readability layer, reproduces the glass blur, and masks the exact SVG control shapes. solveControlPair evaluates #132336 and #f4f8fc Aero endpoints without injecting local scrims (scrimAlpha = 0), picks the shared color that maximizes the lower final-surface contrast of the engine and submit icons (4.5:1 target for controls and clock text), locks normal-state polarity across hover states, and records best-effort diagnostics when a split surface cannot meet the target.
  • Wallpaper analysis cache keys include the image, viewport, overlay, readability settings, blur, solver version, and element geometry. js/modules/wallpaper-view.js guards async image application and surface analysis with incrementing wallpaperApplyToken and wallpaperSurfaceAnalysisToken counters so stale work cannot overwrite newer wallpapers or resized viewports.
  • scripts/validate-colors.js verifies the @layer architecture, removal of legacy unrestricted color inputs and unused tokens, all 6 light + 4 dark static palettes, light/dark panel, toast, and double focus ring contrast, light/dark/split/high-complexity wallpaper solvers, paired shared-color controls with hover polarity lock and zero-scrim diagnostics, and worst-case wallpaper flip clock contrast.

Install

Microsoft Edge

Edge users should install WillowTab directly from Microsoft Edge Add-ons:

Install from Microsoft Edge Add-ons

Google Chrome

Google Chrome users should install WillowTab directly from the Chrome Web Store:

Install from Chrome Web Store

Other Chromium Browsers

For other Chromium-based browsers, install manually from GitHub Releases:

GitHub Releases

Download the generic WillowTab-v*.zip package from that release.

Manual installation steps:

  1. Download the generic ZIP package.
  2. Extract it to a local folder.
  3. Open your browser's extension management page, such as chrome://extensions.
  4. Enable Developer mode.
  5. Click "Load unpacked" and select the extracted folder.

Build Packages

This source builds WillowTab-v1.7.10.zip for Chromium-based browsers and WillowTab-for-Chrome-v1.7.10.zip for Chrome Web Store submission and review.

Project Structure

WillowTab/
├── manifest.json
├── newtab.html
├── privacy-policy.html
├── _locales/
│   ├── en/messages.json
│   └── zh_CN/messages.json
├── css/
│   └── style.css
├── js/
│   ├── assets.js
│   ├── color.js
│   ├── i18n.js
│   ├── main.js
│   ├── preferences.js
│   ├── theme.js
│   ├── wallpaper-color.js
│   ├── wallpaper-policy.js
│   └── modules/
│       ├── clock-renderers.js
│       ├── clock-settings.js
│       ├── clock.js
│       ├── modal.js
│       ├── onboarding.js
│       ├── search.js
│       ├── settings-panel.js
│       ├── theme-picker.js
│       ├── toast.js
│       ├── wallpaper-bing.js
│       ├── wallpaper-gallery.js
│       ├── wallpaper-view.js
│       └── wallpaper-providers/
│           └── bing.js
├── icons/
└── chrome-store/

The Chrome Web Store build lives in chrome-store/. Its policy-specific override files are manifest.json, newtab.html, js/i18n.js, and README.md.

Privacy, Security, and Contributing

License

GNU General Public License v3


Think Different.

About

Clean Chromium new tab extension with quick search, multi-engine switching, themes, and appearance customization

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages