How to create a Google Chrome extension from a greasemonkey/user script

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
 
6. Go to the Chrome extensions page: https://chrome.google.com/extensions/ , sign in and click the 'Publish your extension' link on the botton left
 
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

Google Chrome plugin: showPnx for Exlibris Primo

If you deal with PNX records and ExLibris Primo I've created a Google Chrome pluging to make your life easier.  This plugin allows you to easily display the ExLibris Primo PNX record when in a full display of a record in Primo. 

See the images below for example of this plugin in action


To install:

1 - install Google Chrome as your browser - if you don't already have it
2 - install the XML plugin from: https://chrome.google.com/extensions/detail/gbammbheopgpmaagmckhpjbfgdfkpadb?...
3 - install this plugin from: https://chrome.google.com/extensions/detail/nnibcklgecdkccooecjdoadbkifnmdjc


To use:

1 - open the full display of a record in Primo in Google Chrome
2 - click the new PNX button in the top right of the browser toolbar - next to the url
3 - the PNX will now auto open in a new tab
4 - enjoy :)


Source:

Available via Hg at bitbucket.org: http://bitbucket.org/justin.kelly.org.au/showpnx/src