Resurrect another blueprint.
[besstails.git] / config / chroot_local-patches / disable_foxyproxy_error_msg.patch
blobfb7af4eff455dbd69444c34087a91c7c732326d2
1 --- chroot.orig/usr/share/xul-ext/foxyproxy-standard/chrome/content/overlay.js 2012-08-19 14:03:51.573785849 +0000
2 +++ chroot/usr/share/xul-ext/foxyproxy-standard/chrome/content/overlay.js 2012-08-19 14:06:19.219919480 +0000
3 @@ -197,6 +197,10 @@
4 var contDoc = window.content.document;
5 if (contDoc.documentURI.indexOf("about:neterror?e=proxyConnectFailure") ===
6 0) {
7 + // This function adds a suggestion to use FoxyProxy's premium proxies,
8 + // which is terrible advice for Tails users. Hence we disable it.
9 + return;
11 // As we do not have a separate listener for each tab we check manually
12 // whether the list element got already injected. If so we do not need to
13 // add another one.