All Projects → satendra02 → React Chrome Extension

satendra02 / React Chrome Extension

Licence: mit
chrome extension boilerplate with ReactJs using inject page strategy

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Chrome Extension

Webextension Toolbox
Small CLI toolbox for cross-browser WebExtension development
Stars: ✭ 365 (-9.88%)
Mutual labels:  chrome-extension
Fake Filler Extension
A browser extension for Chrome, Edge and Firefox that fills dummy text in all input fields in a page.
Stars: ✭ 383 (-5.43%)
Mutual labels:  chrome-extension
Netmonitor
A Chrome extension which shows background network activity of web pages after they are loaded.
Stars: ✭ 391 (-3.46%)
Mutual labels:  chrome-extension
Lovely Forks
💚 🍴 Show notable forks of GitHub repositories under their names.
Stars: ✭ 365 (-9.88%)
Mutual labels:  chrome-extension
Awesome Json Viewer
🔥 A Chrome extension to visualise JSON response and introduce awesome JSON prettifying experiences.
Stars: ✭ 380 (-6.17%)
Mutual labels:  chrome-extension
Browser Addon
Kee adds free, secure and easy password management features to your browser which save time and keep your private data more secure.
Stars: ✭ 386 (-4.69%)
Mutual labels:  chrome-extension
Papers With Video
A browser extension that adds video explanations to research papers on arxiv.org
Stars: ✭ 338 (-16.54%)
Mutual labels:  chrome-extension
Post Me
📩 Use web Workers and other Windows through a simple Promise API
Stars: ✭ 398 (-1.73%)
Mutual labels:  iframe
Figma Html
Convert Figma designs to HTML, React, Vue, Angular, and more!
Stars: ✭ 382 (-5.68%)
Mutual labels:  chrome-extension
Noobox
A Chrome Extension that contains useful tools
Stars: ✭ 389 (-3.95%)
Mutual labels:  chrome-extension
Rails panel
Chrome extension for Rails development
Stars: ✭ 3,678 (+808.15%)
Mutual labels:  chrome-extension
Timelineextension
Windows Timeline & Project Rome Web Extension
Stars: ✭ 375 (-7.41%)
Mutual labels:  chrome-extension
Js Tracker
A chrome extension tracks front-end JavaScript that uses DOM / jQuery APIs to manipulate html dom elements (e.g., change style, attach event listener) at runtime.
Stars: ✭ 387 (-4.44%)
Mutual labels:  chrome-extension
Treeverse
A browser extension for navigating burgeoning Twitter conversations
Stars: ✭ 365 (-9.88%)
Mutual labels:  chrome-extension
Contributors On Github
🌵 Show stats about contributors on github
Stars: ✭ 391 (-3.46%)
Mutual labels:  chrome-extension
Extanalysis
Browser Extension Analysis Framework - Scan, Analyze Chrome, firefox and Brave extensions for vulnerabilities and intels
Stars: ✭ 351 (-13.33%)
Mutual labels:  chrome-extension
Easy To Rss
🚀 Chrome/Firefox Extension to retreive RSS feeds URLs from WebSite, RSSHub supported
Stars: ✭ 386 (-4.69%)
Mutual labels:  chrome-extension
Svg Screenshots
📸🧩 Browser extension to take scalable, semantic, accessible screenshots of websites in SVG format.
Stars: ✭ 404 (-0.25%)
Mutual labels:  chrome-extension
Remu
💥Chrome Extension for GitHub that view stars / star history / organizing starred repository
Stars: ✭ 394 (-2.72%)
Mutual labels:  chrome-extension
Kc3kai
Kantai Collection Game Viewer and Tools
Stars: ✭ 387 (-4.44%)
Mutual labels:  chrome-extension

React Chrome Extension

We have open sourced the boilerplate of chrome extension with ReactJs using inject page strategy. Read detailed blog

The boilerplate is to quickly create a chrome extension using ReactJs, The motivation behind creating a boilerplate was:

  1. Instead of chrome's ready-made popup, We wanted our own page injected into DOM as a sidebar for better UX.

  2. We wanted to use ReactJs for the Component-based approach, Routing, and its build mechanism.

  3. We need to make sure that the extension CSS should not conflict with the host page styles in any case.

Features

  • Used ReactJs to write chrome extension
  • Injecting extension to host page as content script
  • Utilized the Chrome messaging API
  • Isolated extension CSS using Iframe

Installation

Make sure you have latest NodeJs version installed

Clone repo

git clone https://github.com/satendra02/react-chrome-extension.git

Go to react-chrome-extension directory run

yarn install

Now build the extension using

yarn build

You will see a build folder generated inside [PROJECT_HOME]

To avoid running yarn build after updating any file, you can run

yarn watch

which listens to any local file changes, and rebuilds automatically.

Adding React app extension to Chrome

In Chrome browser, go to chrome://extensions page and switch on developer mode. This enables the ability to locally install a Chrome extension.

Now click on the LOAD UNPACKED and browse to [PROJECT_HOME]\build ,This will install the React app as a Chrome extension.

When you go to any website and click on extension icon, injected page will toggle.

Using SASS

Boilerplate contains sass-loader, so you can use SASS instead of pure CSS in your project. To do so:

  1. Rename src/App.css file to src/App.scss
  2. Change import line in src/app.js from import './App.css'; to import './App.scss';

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/satendra02/react-chrome-extension/. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The repo is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].