Primeiro commit

master
Rodrigo Orem 2016-04-25 01:06:35 -03:00
commit 845ad2f8b9
4 changed files with 63 additions and 0 deletions

9
LICENSE.txt Normal file
View File

@ -0,0 +1,9 @@
The MIT License (MIT)
Copyright (c) 2016 Rodrigo Orem
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

24
README.md Normal file
View File

@ -0,0 +1,24 @@
# burlesco
Extensão para o Google Chrome que remove de maneira transparente o paywall de grandes sites de notícia.
[Obtenha a extensão **burlesco** na Chrome Web Store.](https://chrome.google.com/webstore/detail/lpamnanbhgpgkkpmilbifikmikfghlgh)
## Como funciona?
Paywall é um sistema de assinatura usado por jornais e outros veículos de comunicação digitais que restringe o acesso aos não assinantes. É uma maneira desses veículos aumentarem suas receitas, seguindo uma tendência internacional que criou a medida depois da diminuição das tiragens impressas.
Se o veículo deseja lucrar mais com a paywall, existem alguns ônus, entre eles a perda de classificação no Google. Isso ocorre porque muitos textos deixam de ser indexados, já que requerem uma assinatura para serem lidos (e os robôs do Google não são assinantes).
Assim, alguns sites obtêm vantagem indevida: para não perder ranking no Google, abrem propositalmente brechas para que os robôs dos mecanismos de busca possam entrar e fazer o seu trabalho. Quando o usuário chega na notícia, no entanto, algum truque feio é realizado para dificultar o acesso.
Essa extensão quer desarmar esses truques feios.
## burlesco
adj. (1647)
1 relativo a comédia; **cômico** […]
4 **burlador**, zombeteiro, trocista
Burlamos os métodos de bloqueio, que são verdadeiramente cômicos.

11
background.js Normal file
View File

@ -0,0 +1,11 @@
chrome.webRequest.onBeforeRequest.addListener(
function(details) { return {cancel: true}; },
{
urls: [
"*://*.estadao.com.br/paywall/*",
"*://*.folha.uol.com.br/folha/furniture/paywall/*"
],
types: ["script"]
},
["blocking"]
);

19
manifest.json Normal file
View File

@ -0,0 +1,19 @@
{
"manifest_version": 2,
"name": "burlesco",
"version": "1.0",
"description": "Remove transparentemente o paywall de grandes sites de notícia",
"author": "Rodrigo Orem (rodorgas)",
"background": {
"scripts": ["background.js"]
},
"permissions": [
"webRequest",
"webRequestBlocking",
"*://*.estadao.com.br/",
"*://*.folha.uol.com.br/"
]
}