Skip to content

Latest commit

 

History

History
95 lines (68 loc) · 3.52 KB

File metadata and controls

95 lines (68 loc) · 3.52 KB
logo

DataWorks DataService Omnibox Chrome Extension

Usage Documents

Demo

应用安装 Extension Installation

  • 插件安装地址 link

  • 此插件能将输入的搜索字跳转至 DataWorks 数据服务

URL 框搜索 (能根据输入文字判断地域、表类型并跳转 DataWorks 数据服务)

image

支持选取文字后透过右键进行表搜索

image

Table of Contents

Intro

This is a Chrome extension source code.

Features

Installation

Procedures:

  1. Clone this repository.
  2. Change name and description in package.json => Auto synchronize with manifest
  3. Install pnpm globally: npm install -g pnpm (check your node version >= 16.6, recommended >= 18)
  4. Run pnpm install

And next, depending on the needs:

For Chrome:

  1. Run:
    • Dev: pnpm dev or npm run dev
    • Prod: pnpm build or npm run build
  2. Open in browser - chrome://extensions
  3. Check - Developer mode
  4. Find and Click - Load unpacked extension
  5. Select - dist folder

For Firefox:

  1. Run:
    • Dev: pnpm dev:firefox or npm run dev:firefox
    • Prod: pnpm build:firefox or npm run build:firefox
  2. Open in browser - about:debugging#/runtime/this-firefox
  3. Find and Click - Load Temporary Add-on...
  4. Select - manifest.json from dist folder

Remember in firefox you add plugin in temporary mode, that's mean it's disappear after close browser, you must do it again, on next launch.

Documents