Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Repository for typescript description in zenn.

License

Notifications You must be signed in to change notification settings

positrium/iHerb-affiliates-link-maker

Repository files navigation

setup

$ npm install

or 

$ yarn install

build

This create dist-dir on root path and you can look chrome extension addon files.

$ yarn run webpack build

watch

watch and build when source files modified.

$ yarn run webpack --watch

use

  1. build this sources to ./dist and import it to chrome extension.
  2. access iHerb item url (e.g. https://jp.iherb.com/pr/Xtend-The-Original-7G-BCAA-Lemon-Lime-Squeeze-14-8-oz-420-g/57502?rec=iherb-home)
  3. tap icon on chrome menubar ( then you have copied affiliate url to yor clipboard. )
  4. Then paste from affiliate url in clipboard to somewhere.