Skip to content
Projets

artemave/translate_onhover

Voir sur GitHub

À propos

Browser translation extension

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Chrome Web Store License Test endpoints

Simply the best Google Chrome translation extension - https://chrome.google.com/webstore/detail/aggiiclaiamajehmlfpkjmlbadmkledi

Firefox version: https://addons.mozilla.org/firefox/addon/transover-ff/

Edge version: https://microsoftedge.microsoft.com/addons/detail/transover/jocggnbbgpaaphngnlccmhgbjffgnjda

Run local version

You'll need a terminal and NodeJs. Then clone/download this repository.

In the project directory, install dependencies (run this in a terminal):

npm install -g yarn
yarn install

Then build:

GA_API_SECRET=1234 GA_MEASUREMENT_ID=1234 yarn build

GA_API_SECRET and GA_MEASUREMENT_ID are Google Analytics 4 Measurement Protocol credentials; any values work for a local build. This runs the tests and produces translate_onhover_v3.zip (Chrome, Edge) and translate_onhover_v2.zip (Firefox).

Now you can "Load unpacked" the ./dist folder.

Development

In addition to the above, there is yarn dev. For as long as it is running, dist will stay updated with code changes.

yarn browser (Chromium) and yarn browser:firefox open a browser with the extension loaded, rebuild on code changes and reload the extension after each rebuild. Open tabs need a reload to pick up content script changes. They open example.com, or the URLs given as arguments, e.g. yarn browser https://mail.google.com. Each browser keeps its profile in .browser-profile/ and builds into .dev-build/, so both can run at once, alongside yarn dev or the tests.

Releasing

See docs/releasing.md.

Explorer des projets similaires

Chargement…