1cd9da3873
When inserting <div> after <body> element, it will create a new <body> to contain the new <div> element. This may cause part of the origin website content to be covered. So just use `beforeend` instead of `afterend` to avoid that. |
||
---|---|---|
other | ||
src | ||
.gitignore | ||
config.json | ||
crowdin.yml | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
webpack.config.dev.js | ||
webpack.config.dist.js | ||
webpack.utils.js |
Simple Translate
Quickly translate selected text on web page. In toolbar popup, you can translate input text.
Translation
You can contribute by translating Simple Translate on Crowdin.
Developing
- Clone the repository
git clone https://github.com/sienori/simple-translate
- Run
npm install
- Run
npm run watch-dev
Load the extension in Chrome
- Open Chrome browser and navigate to
chrome://extensions
- Select "Developer Mode" and then click "Load unpacked extension..."
- From the file browser, choose to
simple-translate/dev/chrome
Load the extension in Firefox
- Open Firefox browser and navigate to
about:debugging
- Click "Load Temporary Add-on" and from the file browser, choose
simple-translate/dev/firefox