Chrome Extension for akizukidenshi.com and switch-science.com providing wishlist.
- Language: JavaScript/html/css
- Browser: Google Chrome 77.0.3865.120
- show item place on cart page
- some additional css in content script
- 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
- clone this repository.
- access
chrome://extensions
and enable "Developer mode". - click "Load unpackaged extension" and select repository folder to install extension.
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.
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).
Export items
To export, click "エクスポート" in popup.
Export item place information
To see item place, click"店舗情報を展開" in popup.
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.
All files are distributed under the MIT license.