Skip to content

Instantly share code, notes, and snippets.

@cantlin
Created July 20, 2013 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cantlin/6045377 to your computer and use it in GitHub Desktop.
Save cantlin/6045377 to your computer and use it in GitHub Desktop.
opens a guardian url in the api
javascript:var u='content.guardianapis.com';window.open((window.location.toString().split('#')[0].split('?')[0] + '.json?api-key=hackedio&show-fields=all&show-tags=all&show-media=all').replace('www.guardian.co.uk', u).replace('m.guardian.co.uk', u));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment