JavaScript Injector

Well, this is my second chrome extension. I was inspired by some chrome functions which can help us execute some code in webpage. I wanted to extend this function and make the effect of code long lasting.

The feature of this extension is that it can keep the script saved in the local storage so that every time I serve the same page, same effect will be put onto that page.

However, I think this extension is named not good enough. “JavaScript Injector” seems too unnoticeable. If you have any suggest, please kindly tell me here though the comments.

If you want to try out the extension, look the the following and do it step by step.

1. Open http://www.yahoo.com
2. Click the injector icon on the top-right comer and a bobble pop up.
3. Copy and paste the following codes to the text box on the pop up and click “inject now”

  $("#sethomepage").html("Oh My God!!!");
  $("#editpage").html("Love this?");
  $("#adbn_ne").html("This Line has be injected by JavaScript Injector!!!");
  document.body.bgColor="pink";

JavaScript Injector: Nicholas Workshop

Hope you enjoy it. =]
Btw, you can also kindly comment it here.

Leave a Reply