Git Product home page Git Product logo

chromeextension's Introduction

ChromeExtension

ChromeExtension Doc

  1. 配置 manifest.json
  2. 弹框 UI 文件 popup.html 和 html 导入资源文件,css 样式和 js 文件
  3. 编写 background,service_worker 后台服务逻辑
  4. 也可以跟 popup 通信
{ "background": { "service_worker": "/js/background.js" } }

踩过的坑啊

  1. chrome.notifications.create,Chrome 只会为传递的特定名称/ID 显示一次通知,作为一种解决方法,我在名称后面加上当前的 DateTime 以使其唯一。设置为空字符也可以生效

chromeextension's People

Contributors

jxlust 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.