amazon.co.uk, Shopping will open all amazon.co.uk (not subdomains) links in Shopping container.
Glob
!*.amazon.co.uk, Shopping will be treated as *.amazon.co.uk glob pattern. (suitable to subdomains)
Regex
@.+\.amazon\.co\.uk$, Shopping will be treat as .+\.amazon\.co\.uk$ regex. (suitable to subdomains and complex paths)
Development
Available Scripts
In the project directory, you can run:
npm ci
Installs required dependencies.
npm run webpack
Starts webpack with --watch option and outputs to ./build directory.
npm run build
Builds the extension for production use.
npm run test
Runs test specs using jest.
Use test:watch to watch for edits and re-run the tests.
npm run lint
Lint using eslint.
npm run web-ext
Runs web-ext process to debug the extension on Firefox. See web-ext docs
To live reload the extension, start this process in a new tab after starting npm run webpack process.
请发表评论