1. Create a folder for your extension
2. Place the greasmonkey/user script javascript file in this folder
3. Create a 128px * 128px icon for your extension and place in this folder
4. Create a file calle 'manifest.json' in this folder
example is below - replace the
pinboard.in content with your details
{
"name": "Pinboard.in clean up",
"version": "0.1",
"description": "Clean up the UI of pinboard.in",
"icons": { "128": "pinboard128.png" },
"content_scripts": [
{
"matches": ["http://www.pinboard.in/*","http://pinboard.in/*"],
"js": ["pinboardin_clean_up.user.js"]
}
]
}
note:
- replace 'pinboardin_clean_up.user.js' with your js file and matches with which pages you want your script to work on
- refer the chrome extensions developers wiki for more details on manifest.json
5. Zip up this folder
7. Google will ask you to upload a zip file, just upload the file created in step 5, follow the steps and your extension will be publish on the Chrome extensions page