DEV Community

loading...
Cover image for Store English Words while you're surfing on a WebBrowser with MateTranslate and Javascript

Store English Words while you're surfing on a WebBrowser with MateTranslate and Javascript

Ariel Reyes
・1 min read

When I am reading often we track all words that we don't know but when we consume many content, could be great have a tool to help us do this job instead.

So with this Idea I reuse an extension called Mate Translate so, to have this feature in the app you need to pay. For that reason we could make our own implementation of that.

Get the components:
Creating the components

Defining validations:
defining validations

Also =>
more

Obtaining the dictionary:
get the dic

Creating the service:
creating the service

Running the service:

Copy the code from here: https://github.com/irrefl/WordsStoringWithMateTranslateAndJavascript/blob/main/WordsCollector.js
Enter fullscreen mode Exit fullscreen mode

and paste it into the web console pressing F12:
press f12

The Result:
alt text

Discussion (0)