Recently I have wanted to be able to inject JavaScript into pages that I visit for work purposes. At first I was using a bookmarks with JavaScript URLs to execute the code every time. Still, I wanted to have a way to inject the JavaScript code automatically on specific sites. You can do the following if you want to download and install the Chrome extension:

  1. Click here to download the zipped up extension.
  2. Unzip the contained file (this will be a CRX file).
  3. In Chrome go to the extensions page (chrome://extensions).
  4. Drag and drop the unzipped JSInjector.crx file onto this page to install the extension.

Source Code

If you would like to see the source code (either because you dont trust it or you are just curious) you can see the Github project here.

Categories: BlogJavaScript

Leave a Reply

Your email address will not be published. Required fields are marked *