SHARE
TWEET

http://stackoverflow.com/q/13331945

a guest Nov 11th, 2012 22 Never
  1. // manifest.json
  2. {
  3.   "name": "required",
  4.   "version": "1",
  5.   "manifest_version": 2,
  6.   "content_scripts": [{
  7.     "matches": ["*//*/*"],
  8.     "js": ["contentscript.js"]
  9.   }]
  10. }
  11.  
  12. // contentscript.js
  13. alert('This is script.');
RAW Paste Data
Top