In this project, I created a Chrome Extension that summarizes Medium Turkish pages. This help readers to
gain time by preventing them reading long articles in Medium Turkish pages. I order to handle the summarization
task, I used a Text-Summarizer API. Please contact with me for further info about API
This project is mainly constructed on three sub files
-
manifest.json
-
jquery-3.4.1.min.js
-
eventPage.js
- In this file, you define the version, name , description, icons, background scripts, permissions
of your extension. And also, I added "browser_action" element, since our Chrome Extension is a
Browser Action extension. In background scripts, I defined two scripts that will be running at the
background when you activated the extension
- Jquery is a fast and small javascript library. It makes things like HTML document traversal and
manipulation, event handling, animation much simpler with an easy-to-use API that works across a
multitude of browsers. So, it helps to run our extension on the browser
- In this file, I use Chrome Extension APIs in order to execute scripts. The codeflow starts with
clicking extension button. After that the extension executes an embedded script that inspects the
related Medium Turkish page using jquery. Then, the script extracts the article and posts it to the
Text-Summarizer. When we got the response, our extension highlights the summarized part of article
- The extension can be permitted for different web pages after inspecting their page sources
- In this project, I learned to build a Chrome Extension using dynamic API calls. I can post some
data through our extension and get response from it. By creating this extension, I understand the
concept of creating a service and converting it to an endpoint in order to respond outer API calls,
especially extension calls. I also added a demo png to visualize our extension's work.
- I completed this project in cooperation with Verius Technology Company.The
Text-Summarizer tool is provided me by them. I also used javascript, jquery and Chrome APIs.