Giter VIP home page Giter VIP logo

chrome-e-ink-improvement's Introduction

E-ink Improvement for Chrome

This is a Chrome extension to improve the websites shown in e-ink displays.

The main idea is to convert dark themes to light themes.

Install

  1. Clone the source code.

  2. Run pnpm i and pnpm build.

  3. Open chrome://extensions in Chrome.

  4. Enable Developer mode.

  5. Click the Load unpacked button and choose the dist folder.

Usage

  • ink style

    1

    • Click the Apply/Remove ink style button in the extension popup or use the shortcut <Ctrl-Shift-E> to toggle it.

    • Once applied, the ink style will be applied to all tabs with the same host. The extension will write down the hosts.

      • Click the Clear storage button to clear the hosts.
    • It will iterate all document nodes, analyze their background color, and then add an inline style for each needed node.

  • code block style

    2

    • Click the Apply code block style checkbox in the extension popup or use the shortcut <Ctrl-Shift-I>` to toggle it.

    • The style will work on all tabs if you keep the checkbox checked.

    • Just add a style tag to make the background of the code block white and the text black.

The best practice is to keep the Apply code block style checkbox checked and use ink Style only when needed.

Thanks

This project is heavily inspired by the following awesome project.

License

MIT License © 2024-PRESENT

chrome-e-ink-improvement's People

Contributors

hui890514 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.