, 09 2016 . 02:10
+
Reeder
http://m.habrahabr.ru/post/276141/
*, JAVASCRIPT*
DPI
ivan386 29 09:28 31,1k
, vpn, tor . . . DPI.
, .
, -.
:
( ):
http://rutracker.og
.
( ):
http://198.51.100.0/...
. .
:
function FindProxyForURL(url, host) {
if (shExpMatch(url, "http://*") && shExpMatch(host, "rutracker.og")) {
return "PROXY rutracker.og; DIRECT";
}
return "DIRECT";
}
proxy.pac
.
proxy.pac Chrome:
1. -> ->
-> - ->
->
2.
3. proxy.pac
: C:\Users\name\Documents\proxy.pac
.
:
// ==UserScript==
// @name BackUserJS
// @description Window History Back Script
// @author ivan386
// @license MIT
// @version 1.0
// @include
http://198.51.100.0/*
// @run-at document_start
// @grant none
// ==/UserScript==
(function (window) {
var w;
w = window;
if (w.self != w.top) {
return;
}
if (/http:\/\/198.51.100.0/.test(w.location.href)) {
w.history.back()
}
})(window);
back.user.js back
.
:
{
"manifest_version": 2,
"content_scripts" : [
{
"js":[ "back.user.js" ],
"matches":[ "http://198.51.100.0/*" ],
"run_at":"document_start"
}
],
"description" : "Window History Back Script",
"name" : "BackUserJS",
"version" : "1.0.0"
}
manifest.json back
Chrome :
1. ->
2.
3. ...
4. back back.user.js manifest.json
:
1. Chrome
2. .
3. Enter.
4. ???
5. PROFIT