search
Homephp教程PHP源码5步搞定谷歌插件开发

5步搞定谷歌插件开发

May 26, 2016 am 08:19 AM
php

1. [代码][PHP]代码   

1: 建立插件目录 Mytest (插件目录接口图7)
    Mytest
        --images             图片文件夹
        --icon.php             插件icon图标(工具栏)
        --icon128.php         插件图标(插件后台显示)
        --jquery.js         插件引用的jquery库
        --test.js           模版中要引用的
        --popup.html         工具栏下拉模版
        --options.html       插件后台设置模版
        --manifest.json       插件配置文件

2: 导入插件目录(按图片1操作) 

3: 调试工具栏下拉模版(按图片8操作)

4: 调试后台设置模版(按图片9呼出控制台操作)

5: 打包插件生成crx文件(按图片2,3,4,操作)

6: 安装插件(按图片5,6操作)

其实就是个web应用,按照谷歌插件的规则,集成而已,不懂可以直接看我的代码,有注释.
对做web开发的程序员来说很简单,当然它本身还有很多api,可以自行研究

        

2. [文件]     chrome.zip

5步搞定谷歌插件开发chrome.zip


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),