mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
added files
This commit is contained in:
parent
6d0caf7f2a
commit
6c134cd48f
BIN
antizapret-chrome-extension.crx
Executable file
BIN
antizapret-chrome-extension.crx
Executable file
Binary file not shown.
17
antizapret-chrome-extension/background.js
Executable file
17
antizapret-chrome-extension/background.js
Executable 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"} )
|
||||||
|
});
|
25
antizapret-chrome-extension/manifest.json
Executable file
25
antizapret-chrome-extension/manifest.json
Executable 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": "Антизапрет"
|
||||||
|
}
|
BIN
antizapret-chrome-extension/unlock.ico
Executable file
BIN
antizapret-chrome-extension/unlock.ico
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
antizapret-chrome-extension/unlock.png
Executable file
BIN
antizapret-chrome-extension/unlock.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in New Issue
Block a user