Prepara versão para o chrome em build.sh

master
Rodrigo Orem 2017-08-17 23:11:27 -03:00
parent f553b2a427
commit c36b818906
2 changed files with 34 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
DIST="dist"
BROWSERS=("firefox" "opera")
BROWSERS=("firefox" "opera" "chrome")
for i in "${BROWSERS[@]}"

33
src/manifest-chrome.json Normal file
View File

@ -0,0 +1,33 @@
{
"manifest_version": 2,
"name": "burlesco",
"version": "2.16",
"description": "Leia notícias sem ser assinante, burle o paywall",
"homepage_url": "http://burles.co",
"author": "rodorgas",
"icons": {
"128": "icone.png"
},
"background": {
"scripts": ["background.js"]
},
"content_scripts": [{
"js": ["content.js"],
"run_at": "document_idle",
"matches": [
"*://*.oglobo.globo.com/*",
"*://www.economist.com/*",
"*://foreignpolicy.com/*"
]
}],
"permissions": [
"webRequest",
"webRequestBlocking",
"cookies",
"<all_urls>"
]
}