├── .gitignore ├── chrome ├── locale │ ├── fr │ │ ├── chooseProxyServer.dtd │ │ ├── about.dtd │ │ ├── overlay.dtd │ │ ├── editProxyServer.dtd │ │ ├── subscription.dtd │ │ ├── sidebar.dtd │ │ ├── tip_subscriptions.dtd │ │ ├── global.properties │ │ └── settings.dtd │ ├── zh-CN │ │ ├── chooseProxyServer.dtd │ │ ├── about.dtd │ │ ├── subscription.dtd │ │ ├── editProxyServer.dtd │ │ ├── tip_subscriptions.dtd │ │ ├── overlay.dtd │ │ ├── sidebar.dtd │ │ ├── global.properties │ │ └── settings.dtd │ ├── de │ │ ├── chooseProxyServer.dtd │ │ ├── about.dtd │ │ ├── overlay.dtd │ │ ├── editProxyServer.dtd │ │ ├── subscription.dtd │ │ ├── tip_subscriptions.dtd │ │ ├── sidebar.dtd │ │ ├── global.properties │ │ └── settings.dtd │ ├── sv-SE │ │ ├── chooseProxyServer.dtd │ │ ├── about.dtd │ │ ├── editProxyServer.dtd │ │ ├── subscription.dtd │ │ ├── overlay.dtd │ │ ├── tip_subscriptions.dtd │ │ ├── sidebar.dtd │ │ ├── global.properties │ │ └── settings.dtd │ ├── en-US │ │ ├── chooseProxyServer.dtd │ │ ├── about.dtd │ │ ├── subscription.dtd │ │ ├── editProxyServer.dtd │ │ ├── overlay.dtd │ │ ├── tip_subscriptions.dtd │ │ ├── sidebar.dtd │ │ └── global.properties │ ├── es-ES │ │ ├── chooseProxyServer.dtd │ │ ├── about.dtd │ │ ├── editProxyServer.dtd │ │ ├── overlay.dtd │ │ ├── subscription.dtd │ │ ├── sidebar.dtd │ │ ├── tip_subscriptions.dtd │ │ ├── global.properties │ │ └── settings.dtd │ ├── pt-BR │ │ ├── chooseProxyServer.dtd │ │ ├── about.dtd │ │ ├── editProxyServer.dtd │ │ ├── overlay.dtd │ │ ├── subscription.dtd │ │ ├── sidebar.dtd │ │ ├── tip_subscriptions.dtd │ │ ├── global.properties │ │ └── settings.dtd │ └── sq-AL │ │ ├── chooseProxyServer.dtd │ │ ├── about.dtd │ │ ├── subscription.dtd │ │ ├── overlay.dtd │ │ ├── global.properties │ │ ├── tip_subscriptions.dtd │ │ ├── sidebar.dtd │ │ ├── editProxyServer.dtd │ │ └── settings.dtd ├── skin │ ├── close.png │ ├── checkbox.png │ ├── aup-status.png │ ├── item-state.png │ ├── aup-status-16.png │ ├── subscription.css │ ├── chooseProxyServer.css │ ├── seaMonkeyHack.css │ ├── about.css │ ├── editProxyServer.css │ ├── tip_subscriptions.css │ ├── sidebar.css │ ├── overlay.css │ └── settings.css └── content │ ├── ui │ ├── optionsOverlay.xul │ ├── subscriptions.xml │ ├── optionsOverlay.js │ ├── about.js │ ├── overlay.js │ ├── utils.js │ ├── sidebarDetached.xul │ ├── prismOverlay.xul │ ├── chooseProxyServer.xul │ ├── mailOverlay.xul │ ├── seamonkeyOverlay.xul │ ├── subscription.xul │ ├── editProxyServer.xul │ ├── findbar.js │ ├── firefoxOverlay.xul │ ├── flasher.js │ ├── about.xul │ ├── tip_subscriptions.xul │ ├── subscription.js │ ├── chooseProxyServer.js │ └── tip_subscriptions.js │ ├── errors.html │ └── proxy.js ├── icon.png ├── remove_string.pl ├── search_and_replace.pl ├── make_release.pl ├── make_devbuild.sh ├── update.rdf ├── create_xpi.pl ├── make_babelzilla_build.pl ├── README ├── defaults └── preferences │ └── autoproxy.js ├── chrome.manifest ├── apdiff.sh ├── make_devbuild.pl └── install.rdf /.gitignore: -------------------------------------------------------------------------------- 1 | *.xpi 2 | -------------------------------------------------------------------------------- /chrome/locale/fr/chooseProxyServer.dtd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agunchan/autoproxy/HEAD/icon.png -------------------------------------------------------------------------------- /chrome/locale/zh-CN/chooseProxyServer.dtd: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chrome/skin/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agunchan/autoproxy/HEAD/chrome/skin/close.png -------------------------------------------------------------------------------- /chrome/locale/de/chooseProxyServer.dtd: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chrome/skin/checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agunchan/autoproxy/HEAD/chrome/skin/checkbox.png -------------------------------------------------------------------------------- /chrome/locale/sv-SE/chooseProxyServer.dtd: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chrome/skin/aup-status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agunchan/autoproxy/HEAD/chrome/skin/aup-status.png -------------------------------------------------------------------------------- /chrome/skin/item-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agunchan/autoproxy/HEAD/chrome/skin/item-state.png -------------------------------------------------------------------------------- /chrome/locale/en-US/chooseProxyServer.dtd: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chrome/locale/es-ES/chooseProxyServer.dtd: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chrome/skin/aup-status-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agunchan/autoproxy/HEAD/chrome/skin/aup-status-16.png -------------------------------------------------------------------------------- /chrome/locale/pt-BR/chooseProxyServer.dtd: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chrome/locale/sq-AL/chooseProxyServer.dtd: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chrome/locale/fr/about.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /chrome/locale/sq-AL/about.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /chrome/locale/sq-AL/subscription.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /chrome/content/ui/optionsOverlay.xul: -------------------------------------------------------------------------------- 1 | 2 | 3 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /chrome/skin/sidebar.css: -------------------------------------------------------------------------------- 1 | /* ***** BEGIN LICENSE BLOCK ***** 2 | * Version: MPL 1.1 3 | * 4 | * The contents of this file are subject to the Mozilla Public License Version 5 | * 1.1 (the "License"); you may not use this file except in compliance with 6 | * the License. You may obtain a copy of the License at 7 | * http://www.mozilla.org/MPL/ 8 | * 9 | * Software distributed under the License is distributed on an "AS IS" basis, 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 | * for the specific language governing rights and limitations under the 12 | * License. 13 | * 14 | * The Original Code is Adblock Plus. 15 | * 16 | * The Initial Developer of the Original Code is 17 | * Wladimir Palant. 18 | * Portions created by the Initial Developer are Copyright (C) 2006-2008 19 | * the Initial Developer. All Rights Reserved. 20 | * 21 | * Contributor(s): 22 | * 23 | * ***** END LICENSE BLOCK ***** */ 24 | 25 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 26 | 27 | #suggestionsList { 28 | margin: 0px; 29 | } 30 | 31 | #detachButton, #reattachButton:not([disabled="true"]) { 32 | text-decoration: underline; 33 | cursor: pointer; 34 | } 35 | 36 | #reattachButton[disabled="true"] { 37 | color: GrayText; 38 | } 39 | 40 | #detachButton, #reattachButton { 41 | font-size: 90%; 42 | } 43 | 44 | tooltip { 45 | max-width: none; 46 | } 47 | 48 | #tooltipPreview { 49 | margin:10px; 50 | max-width: 300px; 51 | max-height: 300px; 52 | } 53 | 54 | #tooltip label { 55 | font-weight: bold; 56 | } 57 | 58 | #contextBlock, 59 | #contextWhitelist { 60 | font-weight: bold; 61 | } 62 | 63 | #state { 64 | min-width: 16px; 65 | } 66 | 67 | #size { 68 | text-align: right; 69 | } 70 | 71 | treechildren::-moz-tree-cell-text(state-filtered, selected-false), 72 | treechildren::-moz-tree-cell-text(state-hidden, selected-false) { 73 | color: #008000; 74 | } 75 | treechildren::-moz-tree-cell-text(state-whitelisted, selected-false) { 76 | color: #C00000; 77 | } 78 | 79 | treechildren::-moz-tree-image(col-state, dummy-false) 80 | { 81 | list-style-image: url(item-state.png); 82 | -moz-image-region: rect(0px 10px 10px 0px); 83 | margin-left: 3px; 84 | } 85 | treechildren::-moz-tree-image(col-state, filter-disabled-true, dummy-false) { 86 | -moz-image-region: rect(10px 10px 20px 0px); 87 | } 88 | treechildren::-moz-tree-image(col-state, state-filtered, dummy-false), 89 | treechildren::-moz-tree-image(col-state, state-hidden, dummy-false) { 90 | -moz-image-region: rect(30px 10px 40px 0px); 91 | } 92 | treechildren::-moz-tree-image(col-state, state-whitelisted, dummy-false) { 93 | -moz-image-region: rect(20px 10px 30px 0px); 94 | } 95 | 96 | treechildren::-moz-tree-cell-text(col-filter, state-hidden, selected-false) { 97 | color: #000080; 98 | } 99 | treechildren::-moz-tree-cell-text(col-filter, filter-disabled-true, selected-false) { 100 | color: #C0C0C0; 101 | } 102 | -------------------------------------------------------------------------------- /chrome/content/ui/firefoxOverlay.xul: -------------------------------------------------------------------------------- 1 | 2 | 3 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /chrome/content/ui/flasher.js: -------------------------------------------------------------------------------- 1 | /* ***** BEGIN LICENSE BLOCK ***** 2 | * Version: MPL 1.1 3 | * 4 | * The contents of this file are subject to the Mozilla Public License Version 5 | * 1.1 (the "License"); you may not use this file except in compliance with 6 | * the License. You may obtain a copy of the License at 7 | * http://www.mozilla.org/MPL/ 8 | * 9 | * Software distributed under the License is distributed on an "AS IS" basis, 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 | * for the specific language governing rights and limitations under the 12 | * License. 13 | * 14 | * The Original Code is Adblock Plus. 15 | * 16 | * The Initial Developer of the Original Code is 17 | * Wladimir Palant. 18 | * Portions created by the Initial Developer are Copyright (C) 2006-2009 19 | * the Initial Developer. All Rights Reserved. 20 | * 21 | * Contributor(s): 22 | * 23 | * ***** END LICENSE BLOCK ***** */ 24 | 25 | /** 26 | * Draws a blinking border for a list of matching nodes. 27 | */ 28 | 29 | var flasher = { 30 | nodes: null, 31 | count: 0, 32 | timer: null, 33 | 34 | flash: function(nodes) { 35 | this.stop(); 36 | if (!nodes || !nodes.length) 37 | return; 38 | 39 | if (prefs.flash_scrolltoitem && ("document" in nodes[0] || nodes[0].ownerDocument)) { 40 | // Ensure that at least one node is visible when flashing 41 | var wnd = ("document" in nodes[0] ? nodes[0] : nodes[0].ownerDocument.defaultView); 42 | try { 43 | var viewer = wnd.QueryInterface(Ci.nsIInterfaceRequestor) 44 | .getInterface(Ci.nsIWebNavigation) 45 | .QueryInterface(Ci.nsIDocShellTreeItem) 46 | .rootTreeItem 47 | .QueryInterface(Ci.nsIInterfaceRequestor) 48 | .getInterface(Ci.nsIDOMWindow) 49 | .document.getElementById("aup-hooks") 50 | .wrappedJSObject 51 | .getBrowser() 52 | .markupDocumentViewer; 53 | viewer.scrollToNode(nodes[0]); 54 | } catch(e) {} 55 | } 56 | 57 | this.nodes = nodes; 58 | this.count = 0; 59 | 60 | this.doFlash(); 61 | }, 62 | 63 | doFlash: function() { 64 | if (this.count >= 12) { 65 | this.stop(); 66 | return; 67 | } 68 | 69 | if (this.count % 2) 70 | this.switchOff(); 71 | else 72 | this.switchOn(); 73 | 74 | this.count++; 75 | 76 | this.timer = window.setTimeout(function() {flasher.doFlash()}, 300); 77 | }, 78 | 79 | stop: function() { 80 | if (this.timer) { 81 | window.clearTimeout(this.timer); 82 | this.timer = null; 83 | } 84 | 85 | if (this.nodes) { 86 | this.switchOff(); 87 | this.nodes = null; 88 | } 89 | }, 90 | 91 | setOutline: function(value) { 92 | for (var i = 0; i < this.nodes.length; i++) 93 | if ("style" in this.nodes[i]) 94 | this.nodes[i].style.outline = value; 95 | }, 96 | 97 | switchOn: function() { 98 | this.setOutline("#CC0000 dotted 2px"); 99 | }, 100 | 101 | switchOff: function() { 102 | this.setOutline("none"); 103 | } 104 | }; 105 | -------------------------------------------------------------------------------- /chrome/skin/overlay.css: -------------------------------------------------------------------------------- 1 | /* ***** BEGIN LICENSE BLOCK ***** 2 | * Version: MPL 1.1 3 | * 4 | * The contents of this file are subject to the Mozilla Public License Version 5 | * 1.1 (the "License"); you may not use this file except in compliance with 6 | * the License. You may obtain a copy of the License at 7 | * http://www.mozilla.org/MPL/ 8 | * 9 | * Software distributed under the License is distributed on an "AS IS" basis, 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 | * for the specific language governing rights and limitations under the 12 | * License. 13 | * 14 | * The Original Code is Adblock Plus. 15 | * 16 | * The Initial Developer of the Original Code is 17 | * Wladimir Palant. 18 | * Portions created by the Initial Developer are Copyright (C) 2006-2008 19 | * the Initial Developer. All Rights Reserved. 20 | * 21 | * Contributor(s): 22 | * 23 | * ***** END LICENSE BLOCK ***** */ 24 | 25 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 26 | 27 | #aup-status * 28 | { 29 | cursor: pointer; 30 | } 31 | #aup-status:hover 32 | { 33 | text-decoration: underline; 34 | } 35 | #aup-status[proxyMode="disabled"] 36 | { 37 | color: #999999; 38 | } 39 | #aup-status[proxyMode="global"] 40 | { 41 | color: #008000; 42 | } 43 | #aup-status label { 44 | display: none; 45 | } 46 | 47 | toolbar[iconsize="small"] #aup-toolbarbutton, 48 | #PersonalToolbar #aup-toolbarbutton, 49 | #aup-status image { 50 | list-style-image: url("aup-status-16.png"); 51 | -moz-image-region: rect(0px, 16px, 16px, 0px); 52 | } 53 | toolbar[iconsize="small"] #aup-toolbarbutton[proxyMode="disabled"], 54 | #PersonalToolbar #aup-toolbarbutton[proxyMode="disabled"], 55 | #aup-status[proxyMode="disabled"] image { 56 | -moz-image-region: rect(16px, 16px, 32px, 0px); 57 | } 58 | toolbar[iconsize="small"] #aup-toolbarbutton[proxyMode="global"], 59 | #PersonalToolbar #aup-toolbarbutton[proxyMode="global"], 60 | #aup-status[proxyMode="global"] image { 61 | -moz-image-region: rect(32px, 16px, 48px, 0px); 62 | } 63 | 64 | #aup-toolbar-popup { 65 | list-style-image: none; 66 | -moz-image-region: rect(0px, 0px, 0px, 0px); 67 | } 68 | 69 | toolbox[vertical="true"] toolbar #aup-toolbarbutton dropmarker { 70 | display: none !important; 71 | } 72 | 73 | menuitem[default="true"] { 74 | font-weight: bold; 75 | } 76 | 77 | #aup-toolbarbutton { 78 | list-style-image: url("aup-status.png"); 79 | -moz-image-region: rect(0px, 24px, 24px, 0px); 80 | width: auto; 81 | } 82 | #aup-toolbarbutton[proxyMode="disabled"] { 83 | -moz-image-region: rect(24px, 24px, 48px, 0px); 84 | } 85 | #aup-toolbarbutton[proxyMode="global"] { 86 | -moz-image-region: rect(48px, 24px, 72px, 0px); 87 | } 88 | 89 | #aup-tooltip { 90 | max-width: none; 91 | } 92 | 93 | #aup-tooltip label { 94 | font-weight: bold; 95 | margin-bottom: 0px; 96 | } 97 | 98 | #aup-tooltip description:not([hidden="true"])+label { 99 | margin-top: 10px; 100 | } 101 | 102 | #aup-sidebar-title { 103 | padding-left: 4px; 104 | } 105 | 106 | #aup-sidebar-toolbar { 107 | display: -moz-box !important; 108 | visibility: visible !important; 109 | } 110 | 111 | #aup-sidebar-close { 112 | padding: 4px 2px; 113 | border-style: none !important; 114 | -moz-user-focus: normal; 115 | list-style-image: url("close.png"); 116 | -moz-appearance: none; 117 | -moz-image-region: rect(0px, 14px, 14px, 0px); 118 | } 119 | 120 | #aup-sidebar-close:hover { 121 | -moz-image-region: rect(0px, 28px, 14px, 14px); 122 | } 123 | 124 | #aup-sidebar-close:hover:active { 125 | -moz-image-region: rect(0px, 42px, 14px, 28px); 126 | } 127 | -------------------------------------------------------------------------------- /chrome/locale/fr/settings.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /chrome/content/ui/about.xul: -------------------------------------------------------------------------------- 1 | 2 | 3 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 45 | 46 | 47 | 48 | 49 | 52 | 53 | 54 | 57 | 58 | 59 | 60 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 |