mirror of
https://github.com/Synzvato/decentraleyes.git
synced 2026-01-06 14:18:40 -05:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
682570cdea | ||
|
|
19cb2beacf | ||
|
|
f5f3cc9be4 | ||
|
|
e73ad04845 | ||
|
|
2f8733bd0a | ||
|
|
0d868e072f | ||
|
|
560b68932c | ||
|
|
0a664f7cd3 | ||
|
|
8124fe112c | ||
|
|
28b194b7f3 | ||
|
|
042853432e | ||
|
|
524981b841 | ||
|
|
9822093473 | ||
|
|
d04bb51a4d |
@@ -1,7 +1,7 @@
|
||||
Decentraleyes
|
||||
=============
|
||||
|
||||
A [Firefox add-on](https://addons.mozilla.org/firefox/addon/decentraleyes) that emulates Content Delivery Networks (CDNs) locally by intercepting requests, finding the required resource and injecting it into the environment. This all happens instantaneously, automatically, and no prior configuration is required. Feel free to use this [testing utility](https://decentraleyes.org/test) to see if it's properly installed, enabled, and correctly configured.
|
||||
A [web browser extension](https://decentraleyes.org) that emulates Content Delivery Networks locally by intercepting requests, finding the required resource and injecting it into the environment. This all happens instantaneously, automatically, and no prior configuration is required. Feel free to use this [testing utility](https://decentraleyes.org/test) to see if it's properly installed, enabled, and correctly configured.
|
||||
|
||||
> **Note:** Decentraleyes is no silver bullet, but it does prevent a lot of websites from making you send these kinds of requests. Ultimately, you can make Decentraleyes block requests for any missing CDN resources, too.
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ var Interceptor = new Class({
|
||||
httpChannel.loadInfo && httpChannel.loadInfo.loadingDocument && httpChannel.loadInfo.loadingDocument.domain ||
|
||||
httpChannel.referrer && httpChannel.referrer.host;
|
||||
|
||||
if (storage.taintedDomains[initiatorDomain]) {
|
||||
if (storage.taintedDomains[initiatorDomain] || /yandex\./.test(initiatorDomain)) {
|
||||
return this.handleMissingCandidate(httpChannel);
|
||||
}
|
||||
|
||||
|
||||
@@ -60,24 +60,11 @@ var storage = simpleStorage.storage;
|
||||
*/
|
||||
var undetectableTaintedDomains = {
|
||||
|
||||
'direct.yandex.com': true,
|
||||
'direct.yandex.ru': true,
|
||||
'disk.yandex.com': true,
|
||||
'disk.yandex.ru': true,
|
||||
'mail.yandex.com': true,
|
||||
'mail.yandex.ru': true,
|
||||
'identi.ca': true,
|
||||
'minigames.mail.ru': true,
|
||||
'news.yandex.ru': true,
|
||||
'news.yandex.ua': true,
|
||||
'passport.twitch.tv': true,
|
||||
'passport.yandex.com': true,
|
||||
'passport.yandex.ru': true,
|
||||
'taxi.yandex.com': true,
|
||||
'taxi.yandex.ru': true,
|
||||
'ya.ru': true,
|
||||
'yadi.sk': true,
|
||||
'yandex.com': true,
|
||||
'yandex.ru': true
|
||||
'yadi.sk': true
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
17
lib/main.js
17
lib/main.js
@@ -21,6 +21,7 @@ var Interceptor = require('./interceptor');
|
||||
var LoadWatcher = require('./load-watcher');
|
||||
|
||||
var preferences = require('sdk/simple-prefs').prefs;
|
||||
var self = require('sdk/self');
|
||||
var tabs = require("sdk/tabs");
|
||||
|
||||
/**
|
||||
@@ -30,6 +31,11 @@ var tabs = require("sdk/tabs");
|
||||
var interceptor = new Interceptor();
|
||||
var loadWatcher = new LoadWatcher();
|
||||
|
||||
var featurelessVersions = {
|
||||
|
||||
'1.3.7': true
|
||||
};
|
||||
|
||||
// Executed as soon as the add-on is loaded.
|
||||
exports.main = function (options) {
|
||||
|
||||
@@ -37,10 +43,13 @@ exports.main = function (options) {
|
||||
interceptor.register();
|
||||
loadWatcher.register();
|
||||
|
||||
if (preferences.showReleaseNotes && (options.loadReason === 'install' || options.loadReason === 'upgrade')) {
|
||||
if (preferences.showReleaseNotes) {
|
||||
|
||||
if (preferences['sdk.baseURI']) {
|
||||
tabs.open(preferences['sdk.baseURI'] + 'static/release-notes.html');
|
||||
if (options.loadReason === 'install' || (options.loadReason === 'upgrade' && !featurelessVersions[self.version])) {
|
||||
|
||||
if (preferences['sdk.baseURI']) {
|
||||
tabs.open(preferences['sdk.baseURI'] + 'static/release-notes.html');
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -49,5 +58,5 @@ exports.main = function (options) {
|
||||
exports.onUnload = function () {
|
||||
|
||||
// Clean up add-on state.
|
||||
interceptor.unregister()
|
||||
interceptor.unregister();
|
||||
};
|
||||
|
||||
8
locale/el/options.dtd
Normal file
8
locale/el/options.dtd
Normal file
@@ -0,0 +1,8 @@
|
||||
<!ENTITY options.addNotice.title "Προσθήκη σχολίων σε τοπικά τοποθετημένα αρχεία">
|
||||
<!ENTITY options.addNotice.description "Πρόσθεση αυτόματης ειδοποίησης ανάκτησης εγγράφων ώστε να σηματοδοτηθεί τοπική παράδοση.">
|
||||
<!ENTITY options.blockMissing.title "Μπλοκ αιτήσεων για ανύπαρκτους πόρους">
|
||||
<!ENTITY options.blockMissing.description "Ακύρωση απομακρυσμένης αίτησης, αν ο απαιτούμενος πόρος δεν είναι τοπικά διαθέσιμος.">
|
||||
<!ENTITY options.domainWhitelist.title "Εξαίρεση διευθύνσεων από επιθεωρήσεις">
|
||||
<!ENTITY options.domainWhitelist.description "Εισαγωγή διευθύνσεων στις επιτρεπόμενες. Διαχωρίστε πολλαπλές καταχωρήσεις με ερωτηματικά (;).">
|
||||
<!ENTITY options.amountInjected.title "Μετρητής εμβόλιμων τοπικών πόρων">
|
||||
<!ENTITY options.amountInjected.description "Ποσοστό εμβόλιμων τοπικών πόρων Δικτύων Παροχής Περιεχομένου από την στιγμή της εγκατάστασης.">
|
||||
@@ -5,4 +5,4 @@
|
||||
<!ENTITY options.domainWhitelist.title "Sluit domeinen uit van inspecties">
|
||||
<!ENTITY options.domainWhitelist.description "Voer de te negeren domeinen in. Scheid de waarden met puntkomma's (;).">
|
||||
<!ENTITY options.amountInjected.title "Teller voor lokaal geïnjecteerde bestanden">
|
||||
<!ENTITY options.amountInjected.description "Aantal lokale Content Delivery Network bestandsinjecties sinds installatie.">
|
||||
<!ENTITY options.amountInjected.description "Aantal lokale Content Delivery Network-bestandsinjecties sinds installatie.">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"author": "Thomas Rientjes",
|
||||
"license": "MPL-2.0",
|
||||
"title": "Decentraleyes",
|
||||
"version": "1.3.6",
|
||||
"version": "1.3.8",
|
||||
"main": "lib/main.js",
|
||||
"homepage": "https://addons.mozilla.org/firefox/addon/decentraleyes",
|
||||
"name": "decentraleyes",
|
||||
@@ -14,6 +14,7 @@
|
||||
"engines": {
|
||||
"firefox": ">=38.0a1",
|
||||
"fennec": ">=38.0a1",
|
||||
"seamonkey": ">=2.0a1 <=2.46"
|
||||
"seamonkey": ">=2.0a1 <=2.46",
|
||||
"{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}": ">=27.1.0b1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Decentraleyes - What's New?</title>
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
|
||||
<meta charset="UTF-8">
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
||||
@@ -111,10 +111,20 @@
|
||||
|
||||
<div class="container">
|
||||
|
||||
<h1>Decentraleyes <i>v1.3.6</i></h1>
|
||||
<h1>Decentraleyes <i>v1.3.8</i></h1>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div class="notice">
|
||||
|
||||
<span class="subtle-hint"><span class="topic-label">Project Status:</span> Decentraleyes is currently <a href="https://github.com/Synzvato/decentraleyes/tree/experimental#decentraleyes-experimental" target="_blank">being rewritten</a> from scratch. This means that the next major release will be featuring an all new foundation, and will be less shy about what it does to protect you!</span>
|
||||
|
||||
<br><br><hr>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="notice">
|
||||
|
||||
<span class="subtle-hint"><span class="topic-label">Pro Tip:</span> Would you rather not see this page after installations or updates? You can disable it by navigating to <strong>about:config</strong> (in a new tab), then searching for <strong>BoFifL9V</strong>, and setting <strong>showReleaseNotes</strong> to false.</span>
|
||||
@@ -127,6 +137,20 @@
|
||||
|
||||
<div class="notice">
|
||||
|
||||
<span class="topic-label">New:</span> <strong>Additional language.</strong> This add-on is now available in <span class="subtle-text"><span class="help-panel" data-title="Thanks to CodeSigils.">Greek</span>.
|
||||
|
||||
<br><br><hr>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="notice">
|
||||
|
||||
<i>Release Notes for version 1.3.6:</i>
|
||||
|
||||
<br><br>
|
||||
|
||||
<span class="topic-label">New:</span> <strong>Multi-process support.</strong> The add-on now officially supports multi-process tabs. Compatibility was tested with the help of several <span class="help-panel" data-title="Thank you Andreas, Bisaloo, dralley, gitarra, OdinGitDat, and TriMoon.">volunteers</span>. The feature enhances security and performance.
|
||||
|
||||
<br><br><hr>
|
||||
@@ -185,12 +209,24 @@
|
||||
|
||||
<div class="notice">
|
||||
|
||||
<i>General notice:</i><br><br>
|
||||
<i>Detailed v1.3.8 changelog:</i>
|
||||
|
||||
Decentraleyes is a young project. Expect many improvements in the realms of clear user feedback and ease-of-use as it matures. It does a lot to protect you, and is becoming less and less shy about it.
|
||||
<ul>
|
||||
<li>Applied a minor <span class="help-panel" data-title="Suggested by mu6.">spelling change</span> to the Dutch localization.</li>
|
||||
<li>Added support for the Greek language.</li>
|
||||
</ul>
|
||||
|
||||
<br><br><hr>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="notice">
|
||||
|
||||
<i>Detailed v1.3.7 changelog:</i>
|
||||
|
||||
<ul>
|
||||
<li>Fixed issues with localized variants of various Yandex services.</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user