Enchan1207 / CartUtil

共有可能な欲しいものリストを提供する拡張機能です。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CartUtil

OverView

Chrome Extension for akizukidenshi.com and switch-science.com providing wishlist.

Development Environment

  • Language: JavaScript/html/css
  • Browser: Google Chrome 77.0.3865.120

Latest Release - show item place(only 秋月電子)

item place

  • show item place on cart page
  • some additional css in content script

Contents

  • manifest.json: chrome ext manifest file
  • icon.png: ext icon (using FET as a motif)
  • popup/
    • index.html: popup html (main html)
    • script.js: popup script
    • wishlist.js: wishlist manager(main script)
    • *.css: css
  • cscript/
    • script.js: content script

Usage

Installation

  1. clone this repository.
  2. access chrome://extensions and enable "Developer mode".
  3. click "Load unpackaged extension" and select repository folder to install extension.

Product page

Detecting product page(matches /akizukidenshi.com\/catalog\/g\/g(.*?)\/*$/), cscript/script.js send product information to popup/script.js.
clicking extension icon, this screen is popup.
add item screen
confirm count to buy and click "追加", the item is added in selected wishlist.

NOTE On initial state, "デフォルトウィッシュリスト" is selected (and user can't delete this wishlist).

Cart page

export screen

Export items
To export, click "エクスポート" in popup.

Export item place information
To see item place, click"店舗情報を展開" in popup.

Popup page

In popup, you always can see selected wishlist item list and its name.
Click the text area where the wish list name is displayed to select the list to display. If you select another list or lose focus, the text area will display the name of the currently selected list again.
If you write the name of a non-existing wish list in the area and press the Enter key, a new list with that name will be created.
Click the "Delete" button to delete the selected wish list.

LICENCE

All files are distributed under the MIT license.

About

共有可能な欲しいものリストを提供する拡張機能です。

License:MIT License


Languages

Language:JavaScript 86.6%Language:CSS 8.1%Language:HTML 5.3%