| Index: manifest.json.tmpl | 
| =================================================================== | 
| new file mode 100644 | 
| --- /dev/null | 
| +++ b/manifest.json.tmpl | 
| @@ -0,0 +1,73 @@ | 
| +/* | 
| + * This file is part of the Adblock Plus extension, | 
| + * Copyright (C) 2006-2012 Eyeo GmbH | 
| + * | 
| + * Adblock Plus is free software: you can redistribute it and/or modify | 
| + * it under the terms of the GNU General Public License version 3 as | 
| + * published by the Free Software Foundation. | 
| + * | 
| + * Adblock Plus is distributed in the hope that it will be useful, | 
| + * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
| + * GNU General Public License for more details. | 
| + * | 
| + * You should have received a copy of the GNU General Public License | 
| + * along with Adblock Plus.  If not, see <http://www.gnu.org/licenses/>. | 
| + */ | 
| + | 
| +{ | 
| +  "manifest_version": 2, | 
| +  "name": "__MSG_name__{% if experimentalAPI %} experimental build{% endif %}", | 
| +  "description": "__MSG_description__", | 
| +  "default_locale": "en_US", | 
| +  "version": {{version|json}}, | 
| + | 
| +  {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrome') %} | 
| +  "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, | 
| +  {%- endif %} | 
| + | 
| +  {%- if not releaseBuild %} | 
| +  "update_url": "https://adblockplus.org/devbuilds/ | 
| +    {{- metadata.get('general', 'basename') -}} | 
| +    {%- if experimentalAPI -%} | 
| +    -experimental | 
| +    {%- endif -%} | 
| +    /updates.xml", | 
| +  {%- endif %} | 
| + | 
| +  {%- if pageAction %} | 
| +  "page_action": { | 
| +    "default_icon": {{pageAction.icon|json}}, | 
| +    "default_title": "__MSG_name__", | 
| +    "default_popup": {{pageAction.popup|json}} | 
| +  }, | 
| +  {%- endif %} | 
| + | 
| +  {%- if icons %} | 
| +  "icons": {{icons|json}}, | 
| +  {%- endif %} | 
| + | 
| +  {%- if permissions %} | 
| +  "permissions": {{permissions|json}}, | 
| +  {%- endif %} | 
| + | 
| +  {%- if backgroundScripts %} | 
| +  "background": { | 
| +    "scripts": {{backgroundScripts|json}} | 
| +  }, | 
| +  {%- endif %} | 
| + | 
| +  {%- if metadata.has_option('general', 'options') %} | 
| +  "options_page": {{metadata.get('general', 'options')|json}}, | 
| +  {%- endif %} | 
| + | 
| +  {%- if contentScripts %} | 
| +  "content_scripts": {{contentScripts|json}}, | 
| +  {%- endif %} | 
| + | 
| +  {%- if webAccessible %} | 
| +  "web_accessible_resources": {{webAccessible|json}}, | 
| +  {%- endif %} | 
| + | 
| +  "_dummy": false | 
| +} | 
|  |