added files

This commit is contained in:
Ilya Ig. Petrov 2015-11-12 14:32:24 +05:00
parent 6d0caf7f2a
commit 6c134cd48f
5 changed files with 42 additions and 0 deletions

BIN
antizapret-chrome-extension.crx Executable file

Binary file not shown.

View File

@ -0,0 +1,17 @@
'use strict';
var config = {
mode: "pac_script",
pacScript: {
url: "http://antizapret.prostovpn.org/proxy.pac"
}
};
chrome.proxy.settings.set(
{value: config, scope: 'regular'},
function() {}
);
chrome.browserAction.onClicked.addListener(function(tab) {
chrome.tabs.create( {url: "http://antizapret.prostovpn.org"} )
});

View File

@ -0,0 +1,25 @@
{
"manifest_version": 2,
"name": "Антизапрет",
"description": "РосКомНадзор заблокировал очередной сайт? Ты не нарушаешь закон! Ты не ребёнок!",
"version": "0.1",
"browser_action": {
"default_icon": "unlock.png",
"default_title": "Обсуждай на https://reddit.com/r/ru"
},
"permissions": [
"proxy"
],
"icons": { "16": "unlock.ico",
"128": "unlock.png" },
"background": {
"scripts": ["background.js"],
"persistent": false
},
"author": "ilyaigpetrov@gmail.com",
"homepage_url": "https://github.com/ilyaigpetrov/antizapret-chrome-extension",
"short_name": "Антизапрет"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB