Skip to content

Commit

Permalink
Create background.js
Browse files Browse the repository at this point in the history
  • Loading branch information
LudwikJaniuk committed Nov 5, 2014
1 parent 44b0fa0 commit 2f5f6ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions background.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
chrome.browserAction.onClicked.addListener(function(tab) {
chrome.tabs.executeScript({
code: 'document.body.innerHTML = document.body.innerHTML + "<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>"'
});
});

0 comments on commit 2f5f6ce

Please sign in to comment.