Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Commit 468ef2e

Browse files
committed
this fixes #229
1 parent 1b32338 commit 468ef2e

File tree

12 files changed

+213
-140
lines changed

12 files changed

+213
-140
lines changed

_locales/de/messages.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,23 @@
313313
"description": "English: Convenience"
314314
},
315315
"settingsMatrixAutoReloadPrompt" : {
316-
"message": "Smart auto-reload of page(s) when matrix is closed.",
316+
"message": "When the matrix is closed, smart reload these tabs:",
317317
"description": "..."
318318
},
319+
"settingsMatrixAutoReloadNone" : {
320+
"message": "None",
321+
"description": ""
322+
},
323+
"settingsMatrixAutoReloadCurrent" : {
324+
"message": "Current",
325+
"description": ""
326+
},
327+
"settingsMatrixAutoReloadAll" : {
328+
"message": "All",
329+
"description": ""
330+
},
319331
"settingsMatrixAutoReloadInfo" : {
320-
"message": "Whenever you make changes in the matrix which can affect the display and/or behavior of one or more pages, <i>HTTP Switchboard</i> will reload all affected pages automatically when you close the matrix.",
332+
"message": "Whenever you make changes in the matrix which can affect the display and/or behavior of one or more pages, <i>HTTP Switchboard</i> will reload affected pages automatically when you close the matrix.",
321333
"description": "..."
322334
},
323335
"settingsMatrixDeleteUnusedTemporaryScopesPrompt1" : {
@@ -360,9 +372,13 @@
360372
"message": "TODO",
361373
"description": "..."
362374
},
363-
"settingsClearCachePrompt" : {
364-
"message": "TODO: variable layout of embedded input tags according to language",
365-
"description": "..."
375+
"settingsClearCachePrompt1" : {
376+
"message": "Clear browser cache every",
377+
"description": "English: Clear browser cache every"
378+
},
379+
"settingsClearCachePrompt2" : {
380+
"message": "minutes.",
381+
"description": "English: minutes."
366382
},
367383
"settingsClearCacheHelp" : {
368384
"message": "<p>Einige Webseiten sind wirklich darauf aus, dich zu verfolgen bzw. zu tracken, und scheuen nicht davor zurück, gar nicht nette Tricks zu verwenden, um Maßnahmen, die dieses Tracking verhindern sollen, zu unterlaufen.</p><p>Einige dieser Tricks benutzen dazu den <sup style='font-size:smaller'>[1, 2]</sup> on the <a href='https://de.wikipedia.org/wiki/Browser-Cache'>Browser Cache</a>, dessen Inhalt häufig für lange Zeit auslesbar ist, da viele Benutzer ihn nicht regelmäßig löschen.</p><p>Das regelmäßige Löschen des Browser Caches bringt kaum Nachteile mit sich (wahrscheinlich wirst du gar keine bemerken), während die Vorteile darin bestehen, dass diese fiesen Tracker davon abgehalten werden, in deine Privatsphäre einzudringen.</p><p>Aktiviere diesen Schalter, damit <i>HTTP Switchboard</i> diese Aufgabe in dem von dir gewünschten Intervall übernimmt.</p><p style='font-size:smaller'>[1] <a href='https://grepular.com/Preventing_Web_Tracking_via_the_Browser_Cache'>&ldquo;Preventing Web Tracking via the Browser Cache&rdquo;</a><br>[2] <a href='http://lucb1e.com/rp/cookielesscookies/'>&ldquo;Cookieless cookies&rdquo;</a></p>",

_locales/en/messages.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,23 @@
313313
"description": "English: Convenience"
314314
},
315315
"settingsMatrixAutoReloadPrompt" : {
316-
"message": "Smart auto-reload of page(s) when matrix is closed.",
316+
"message": "When the matrix is closed, smart reload these tabs:",
317317
"description": "..."
318318
},
319+
"settingsMatrixAutoReloadNone" : {
320+
"message": "None",
321+
"description": ""
322+
},
323+
"settingsMatrixAutoReloadCurrent" : {
324+
"message": "Current",
325+
"description": ""
326+
},
327+
"settingsMatrixAutoReloadAll" : {
328+
"message": "All",
329+
"description": ""
330+
},
319331
"settingsMatrixAutoReloadInfo" : {
320-
"message": "Whenever you make changes in the matrix which can affect the display and/or behavior of one or more pages, <i>HTTP Switchboard</i> will reload all affected pages automatically when you close the matrix.",
332+
"message": "Whenever you make changes in the matrix which can affect the display and/or behavior of one or more pages, <i>HTTP Switchboard</i> will reload affected pages automatically when you close the matrix.",
321333
"description": "..."
322334
},
323335
"settingsMatrixDeleteUnusedTemporaryScopesPrompt1" : {
@@ -360,9 +372,13 @@
360372
"message": "TODO",
361373
"description": "..."
362374
},
363-
"settingsClearCachePrompt" : {
364-
"message": "TODO: variable layout of embedded input tags according to language",
365-
"description": "..."
375+
"settingsClearCachePrompt1" : {
376+
"message": "Clear browser cache every",
377+
"description": "English: Clear browser cache every"
378+
},
379+
"settingsClearCachePrompt2" : {
380+
"message": "minutes.",
381+
"description": "English: minutes."
366382
},
367383
"settingsClearCacheHelp" : {
368384
"message": "<p>Some web sites are really bent on tracking you, so much that they will use not-so-nice tricks to work around whatever measures you take in order to not be tracked.</p><p>A few of these tricks rely<sup style='font-size:smaller'>[1, 2]</sup> on the <a href='https://en.wikipedia.org/wiki/Web_cache'>browser cache</a>, which content is often long lasting since rarely will users take the time to regularly clear their browser cache.</p><p>There is little inconvenience to clear the browser cache regularly (likelihood is that you won't notice when it happens), and the benefit is to prevent these obnoxious trackers from invading your privacy.</p><p>Check this option to have <i>HTTP Switchboard</i> do it for you, at the interval you wish.</p><p style='font-size:smaller'>[1] <a href='https://grepular.com/Preventing_Web_Tracking_via_the_Browser_Cache'>&ldquo;Preventing Web Tracking via the Browser Cache&rdquo;</a><br>[2] <a href='http://lucb1e.com/rp/cookielesscookies/'>&ldquo;Cookieless cookies&rdquo;</a></p>",

_locales/fr/messages.json

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,21 @@
313313
"description": "English: Convenience"
314314
},
315315
"settingsMatrixAutoReloadPrompt" : {
316-
"message": "Rechargement automatique des pages Web à la fermeture post-édition de la matrice",
316+
"message": "À la fermeture post-édition de la matrice, recharger si nécessaire les pages suivantes:",
317317
"description": "..."
318318
},
319+
"settingsMatrixAutoReloadNone" : {
320+
"message": "Aucune",
321+
"description": ""
322+
},
323+
"settingsMatrixAutoReloadCurrent" : {
324+
"message": "Courante",
325+
"description": ""
326+
},
327+
"settingsMatrixAutoReloadAll" : {
328+
"message": "Tous",
329+
"description": ""
330+
},
319331
"settingsMatrixAutoReloadInfo" : {
320332
"message": "Lorsque vous avez modifié des permissions susceptibles d'affecter l'apparence et/ou le comportement d'une page Web, cette dernière sera automatiquement rechargée par l'extension en fermant la matrice. Si l'option ci-dessus n'est pas activée, vous devrez actualiser la page vous-même pour appliquer les modifications",
321333
"description": "..."
@@ -360,9 +372,13 @@
360372
"message": "TODO",
361373
"description": "..."
362374
},
363-
"settingsClearCachePrompt" : {
364-
"message": "TODO: variable layout of embedded input tags according to language",
365-
"description": "..."
375+
"settingsClearCachePrompt1" : {
376+
"message": "Nettoyer le cache du navigateur à toutes les",
377+
"description": "English: Clear browser cache every"
378+
},
379+
"settingsClearCachePrompt2" : {
380+
"message": "minutes.",
381+
"description": "English: minutes."
366382
},
367383
"settingsClearCacheHelp" : {
368384
"message": "<p>Certains sites Web sont déterminés à vous pister, à tel point qu'ils utiliseront des techniques bien peu élogieuses pour contourner toute mesure que vous prendriez afin d'éviter le pistage.</p><p>Certaines de ces techniques exploitent<sup style='font-size:smaller'>[1, 2]</sup> le <a href='https://fr.wikipedia.org/wiki/Cache_web'>cache du navigateur</a>, dont le contenu va perdurer un bon bout de temps puisque les utilisateurs prennent rarement le temps de fréquemment nettoyer le cache du navigateur.</p><p>Pour certains, nettoyer régulièrement le cache du navigateur est un dérangement, mais présente l'avantage d'empêcher ces envahissants pisteurs de s'immiscer dans votre vie privée.</p><p>Cochez cette option pour que <i>HTTP Switchboard</i> le fasse pour vous, à la fréquence de votre choix.</p><p style='font-size:smaller'>[1] <a href='https://grepular.com/Preventing_Web_Tracking_via_the_Browser_Cache'>&ldquo;Preventing Web Tracking via the Browser Cache&rdquo;</a><br>[2] <a href='http://lucb1e.com/rp/cookielesscookies/'>&ldquo;Cookieless cookies&rdquo;</a></p>",

css/popup.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ body .toolbar button:hover {
6161
background-color: #eee;
6262
opacity: 1;
6363
}
64-
body .toolbar button[disabled] {
65-
color: #ccc;
66-
}
6764
body .toolbar button.disabled {
6865
color: #ccc;
6966
}
67+
body .toolbar button.switch.disabled {
68+
color: #a00;
69+
}
7070
body .toolbar button.fa {
7171
font: 1.75em 'FontAwesome';
7272
min-width: 1.1em;
@@ -184,7 +184,6 @@ button > span.badge {
184184
color: #000;
185185
background-color: rgba(240,240,240,0.75)
186186
}
187-
button[disabled] > span.badge,
188187
button.disabled > span.badge {
189188
display: none;
190189
}

js/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var HTTPSB = {
4444
processBehindTheSceneRequests: false,
4545
processReferer: false,
4646
subframeOpacity: 1,
47-
smartAutoReload: true,
47+
smartAutoReload: 'all',
4848
statsFilters: {},
4949
strictBlocking: true
5050
},

0 commit comments

Comments
 (0)