diff --git a/build.sh b/build.sh index 226acdf..b29e530 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/bash DIST="dist" -BROWSERS=("firefox" "opera") +BROWSERS=("firefox" "opera" "chrome") for i in "${BROWSERS[@]}" diff --git a/src/manifest-chrome.json b/src/manifest-chrome.json new file mode 100644 index 0000000..af369ed --- /dev/null +++ b/src/manifest-chrome.json @@ -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", + "" + ] +}