saurabh-kushwah / js-injector

Inject javascript to the webpage you are visiting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

javascript-injector

Chrome extension for injecting javascript to the webpage you are visiting. It can be used as a handy tool to make your surfing a bit of more fun. I personally use it mainly during the test automation.

Install

You can install the extension from chrome web store.

How to use

Let's say you want to run a small piece of javascript in your favorite web site https://duckduckgo.com/ every time you visit it.

  • Open the website on your chrome: alt text

  • Click on the javascript-injector extension right to the address bar, and fill in the javascript below

document.body.style.backgroundColor = "lightblue";

alt text

  • Click on update

From now on, whenever you visit the website, on any of your devices (as long as you log into chrome using the same account), the snippet will be executed automatically. alt text

License

This code is free to use under the terms of the MIT license.

Contribution

You are more than welcome to raise any issues here, or create a Pull Request.

About

Inject javascript to the webpage you are visiting

License:MIT License


Languages

Language:JavaScript 50.7%Language:HTML 49.3%