Skip to content

Instantly share code, notes, and snippets.

@vjnrv
Created June 22, 2010 21:11
Show Gist options
  • Select an option

  • Save vjnrv/449094 to your computer and use it in GitHub Desktop.

Select an option

Save vjnrv/449094 to your computer and use it in GitHub Desktop.

Revisions

  1. vjnrv created this gist Jun 22, 2010.
    8 changes: 8 additions & 0 deletions extensionManifest.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    // Retorna o arquivo manifest
    function getManifest()
    {
    var xhr = new XMLHttpRequest();
    xhr.open('GET', './manifest.json', false);
    xhr.send(null);
    return JSON.parse(xhr.responseText);
    }