Giter VIP home page Giter VIP logo

chrome-ext-open-urls's Introduction

chrome-ext-open-urls

chrome extension used to open urls

用途:快速打开设定的 URL,甚至可以只设置一个 URL。(后续加入快捷键)

思路:

设置页面添加 URLs (options.html) || / localstorage || / popup.js 读取修改 popup.html

popup.html

两部分:

左键:URLs list (读取本地数据,列出) 右键:设置页面 contextmenu

在 UI 和 background 之前传输数据

通过 localstorage当做中介

读取 UI 输入参考 sample:A browser action with a popup that changes the page color

TODO 代办事项

  • options.html 页面新建窗口打开
  • 对 URL 添加别名,popup 只显示别名
  • 把 options.html 设置页面链接移到右击选项里面去
  • 美化列表界面
  • 美化 options.html 页面

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.