GithubHelp home page GithubHelp logo

modicon's Introduction

ModIcon

An extension to customize favicons.

ModIcon Logo

How to check your wildcards

  1. Visit regex101
  2. Enter all the URLs in the test string text area
  3. Copy the function wildcardToRegExp from util.js
  4. Press F12 and open the console tab of the developer tools
  5. Paste to the console and press enter
  6. Call the function with the wildcard you have
  7. Copy the output from the console and paste into the regular expression input
  8. It should highlight all URLs you entered as individual matches

Links

E + D - Fall FHL 2019

Team Members

  • Michael Maxwell
  • Adaranijo Omooba

To Do

  • Not have to Ctrl+F5 to get the new icon

  • Let user modify the pageUrl of an existing icon modification

  • When making a new rule give option to use an icon already saved in storage

  • Add a linter

  • Add unit tests and integration tests?

  • Autogenerate db.json as part of build pipeline

  • Use Vue.js + TypeScript

  • Use 32x32 icons ?

  • When using an image url, have user specify whether to download that file

    • Or to always fetch the image from that URL on each load
  • Let user download icon packs for certain sites

    • Need a service for these to be hosted on
    • Use json-server and github ? :o
    • Or let users add modifications by importing configs from a JSON file?
  • Allow users to import/export their modifications for easy sharing

    • Include any icon packs in a /packs/ directory ?
    • Important for Edge users because extension sync isn't added yet
  • Let user change priority of certain modifications (order in popup table)

    • Draggable table rows
    • Add an up and down arrow next to each rule
    • The chosen implementation will decide how the modifications are stored in sorted order
      • Add priority field on each modification, and swap those
      • When creating a modification, set the priority to modifications.length
  • For pages where the default no icon is used

  • Pack extension and make available on Edge and Chrome

  • Add support for Firefox

  • Prefix 'data:image/png;base64,iVBORw0KGgo...' even more ???

  • Add text files to icons directory for wildcards and info about the icon pack ???

    • Entire db.json is generated only from files inside the icons directory (no db_init.json)
    • Move db_init.json info into files in related directory
  • Investigate why chrome.storage isn't saving RegExp properly

    • Submit a bug ?

Extension Storage Format

{ random_guid1: { priority: 1, img: '~1000 char string' wildcards: [ 'hello.com' ] } }

modicon's People

Contributors

mic-max avatar

Stargazers

 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.