Skip to content

Instantly share code, notes, and snippets.

@freaktechnik
Created April 30, 2015 16:53
Show Gist options
  • Save freaktechnik/ba272f5a40a7cfeb0f5f to your computer and use it in GitHub Desktop.
Save freaktechnik/ba272f5a40a7cfeb0f5f to your computer and use it in GitHub Desktop.
var string = self.options.myString;
window.addEventListener("load", function() {
//DOM specific stuff here
});
PageMod({
include: '*',
contentScriptFile: './content-script.js',
contentScriptOptions: {
myString: "asdfasfd"
},
contentScriptWhen: "start"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment