Skip to content

Instantly share code, notes, and snippets.

@Salgat
Last active December 17, 2015 01:21
Show Gist options
  • Save Salgat/8b95c53c23daedb1ea23 to your computer and use it in GitHub Desktop.
Save Salgat/8b95c53c23daedb1ea23 to your computer and use it in GitHub Desktop.
// Inject script on every page load
var script = document.createElement('script');
script.src = chrome.extension.getURL('script.js');
document.body.appendChild(script);
@Salgat
Copy link
Author

Salgat commented Dec 17, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment