Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various (mostly) Firefox fixes #53

Merged
merged 6 commits into from
Jun 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,224 changes: 1,132 additions & 1,092 deletions _locales/ar/messages.json

Large diffs are not rendered by default.

2,314 changes: 1,177 additions & 1,137 deletions _locales/bg/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/ca/messages.json

Large diffs are not rendered by default.

1,874 changes: 957 additions & 917 deletions _locales/cs/messages.json

Large diffs are not rendered by default.

1,768 changes: 904 additions & 864 deletions _locales/da/messages.json

Large diffs are not rendered by default.

2,264 changes: 1,152 additions & 1,112 deletions _locales/de/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/el/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/en/messages.json

Large diffs are not rendered by default.

1,872 changes: 956 additions & 916 deletions _locales/es/messages.json

Large diffs are not rendered by default.

2,294 changes: 1,167 additions & 1,127 deletions _locales/fi/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/fr/messages.json

Large diffs are not rendered by default.

1,824 changes: 932 additions & 892 deletions _locales/gu/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/hr/messages.json

Large diffs are not rendered by default.

2,006 changes: 1,023 additions & 983 deletions _locales/hu/messages.json

Large diffs are not rendered by default.

2,006 changes: 1,023 additions & 983 deletions _locales/id/messages.json

Large diffs are not rendered by default.

2,294 changes: 1,167 additions & 1,127 deletions _locales/it/messages.json

Large diffs are not rendered by default.

1,710 changes: 875 additions & 835 deletions _locales/ja/messages.json

Large diffs are not rendered by default.

1,712 changes: 876 additions & 836 deletions _locales/ko/messages.json

Large diffs are not rendered by default.

1,866 changes: 953 additions & 913 deletions _locales/nb/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/nl/messages.json

Large diffs are not rendered by default.

2,010 changes: 1,025 additions & 985 deletions _locales/pl/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/pt_BR/messages.json

Large diffs are not rendered by default.

2,290 changes: 1,165 additions & 1,125 deletions _locales/pt_PT/messages.json

Large diffs are not rendered by default.

1,868 changes: 954 additions & 914 deletions _locales/ro/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/ru/messages.json

Large diffs are not rendered by default.

1,868 changes: 954 additions & 914 deletions _locales/sk/messages.json

Large diffs are not rendered by default.

2,208 changes: 1,124 additions & 1,084 deletions _locales/sl/messages.json

Large diffs are not rendered by default.

2,142 changes: 1,091 additions & 1,051 deletions _locales/sr/messages.json

Large diffs are not rendered by default.

1,868 changes: 954 additions & 914 deletions _locales/sv/messages.json

Large diffs are not rendered by default.

1,868 changes: 954 additions & 914 deletions _locales/tr/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/uk/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/vi/messages.json

Large diffs are not rendered by default.

2,318 changes: 1,179 additions & 1,139 deletions _locales/zh_CN/messages.json

Large diffs are not rendered by default.

1,750 changes: 895 additions & 855 deletions _locales/zh_TW/messages.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions background.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="lib/punycode.min.js"></script>
<script type="text/javascript" src="lib/jquery.min.js"></script>
<script type="text/javascript" src="js/port.js"></script>
Expand Down
1 change: 1 addition & 0 deletions button/popup.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="popup.css"/>
<script src="../lib/punycode.min.js"></script>
<script src="../lib/jquery.min.js"></script>
Expand Down
10 changes: 8 additions & 2 deletions button/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ $(function() {
}
}

// Currently there's no way,
// how to hide the extension button
if (FIREFOX) {
$("#div_help_hide_start").hide();
}

});

if (SAFARI) {
Expand Down Expand Up @@ -193,7 +199,7 @@ $(function() {

$("#div_pause_adblock").click(function() {
if (BG.get_settings().safari_content_blocking) {
alert(translate('safaricontentblockingpausemessage'));
alert(translate('catblock_safaricontentblockingpausemessage'));
} else {
BG.adblock_is_paused(true);
if (!SAFARI) {
Expand Down Expand Up @@ -264,7 +270,7 @@ $(function() {
if (OPERA) {
$("#help_hide_explanation").text(translate("operabutton_how_to_hide2")).slideToggle();
} else if (SAFARI) {
$("#help_hide_explanation").text(translate("safaributton_how_to_hide2")).
$("#help_hide_explanation").text(translate("catblock_safaributton_how_to_hide2")).
slideToggle(function() {
var popupheight = $("body").outerHeight();
safari.extension.popovers[0].height = popupheight;
Expand Down
40 changes: 40 additions & 0 deletions catblock/_locales/af/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,45 @@
"catblock_you_know_thats_a_bad_idea_right":{
"description":"Confirmation message shown to user if they try to subscribe to too many lists. The user will have two options: OK and Cancel.",
"message":"The more filter lists you use, the slower CatBlock runs. Using too many lists can even crash your browser on some websites. Press OK to subscribe to this list anyway."
},
"catblock_safarinotificationbody":{
"description":"Body of a notification shown to Safari Content Blocking users with too many filter list rules",
"message":"Please disable some filter lists. More information in CatBlock's Options."
},
"catblock_adblocksupport":{
"description":"Title of the support tab",
"message":"CatBlock Support"
},
"catblock_adblock_outdated_chrome":{
"description":"Ad report page instructions to update AdBlock in Chrome. The link will point to 'chrome:\/\/chrome\/extensions\/'",
"message":"You are using an old version of CatBlock. Please go to <a href='#'>the extensions page<\/a>, enable 'Developer mode' and click 'Update extensions now'"
},
"catblock_safaributton_how_to_hide2":{
"description":"Message explaining how to hide the AdBlock toolbar button. 'Customize Toolbar' should match the text that Safari displays in the toolbar's context menu.",
"message":"To hide the button, right click Safari's toolbar and choose Customize Toolbar, then drag the CatBlock button out of the toolbar. You can show it again by dragging it back into the toolbar."
},
"catblock_adblockreportinganad":{
"description":"Title of the ad report page",
"message":"CatBlock - Reporting an ad"
},
"catblock_adblock_click_for_details":{
"description":"Tooltip on the AdBlock button, to help users understand that they can click the button, and that they can control the number badge that appears on the button.",
"message":"CatBlock - click for details"
},
"catblock_adblock_wont_run_on_pages_matching":{
"description":"Message displayed when the whitelister dialog will whitelist part of an entire website, for example '*.google.com\/reader\/*'. The URL will appear on the next line.",
"message":"CatBlock won't run on any page matching:"
},
"catblock_filteradblock_custom":{
"description":"A filter list",
"message":"CatBlock custom filters (recommended)"
},
"catblock_malwarenotificationmessage":{
"description":"Notification when a malware request has been blocked. This message should be under 90 characters!",
"message":"CatBlock has blocked a download from a site known to host malware."
},
"catblock_safaricontentblockingpausemessage":{
"description":"Alert displayed after clicking 'Pause AdBlock' in the AdBlock menu while Safari Content blocking is enabled",
"message":"To pause CatBlock with Content Blocking enabled, please select Safari (in the menu bar) > Preferences > Extensions > CatBlock, and uncheck 'Enable CatBlock'."
}
}
40 changes: 40 additions & 0 deletions catblock/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,45 @@
"catblock_you_know_thats_a_bad_idea_right":{
"description":"Confirmation message shown to user if they try to subscribe to too many lists. The user will have two options: OK and Cancel.",
"message":"The more filter lists you use, the slower CatBlock runs. Using too many lists can even crash your browser on some websites. Press OK to subscribe to this list anyway."
},
"catblock_safarinotificationbody":{
"description":"Body of a notification shown to Safari Content Blocking users with too many filter list rules",
"message":"Please disable some filter lists. More information in CatBlock's Options."
},
"catblock_adblocksupport":{
"description":"Title of the support tab",
"message":"CatBlock Support"
},
"catblock_adblock_outdated_chrome":{
"description":"Ad report page instructions to update AdBlock in Chrome. The link will point to 'chrome:\/\/chrome\/extensions\/'",
"message":"You are using an old version of CatBlock. Please go to <a href='#'>the extensions page<\/a>, enable 'Developer mode' and click 'Update extensions now'"
},
"catblock_safaributton_how_to_hide2":{
"description":"Message explaining how to hide the AdBlock toolbar button. 'Customize Toolbar' should match the text that Safari displays in the toolbar's context menu.",
"message":"To hide the button, right click Safari's toolbar and choose Customize Toolbar, then drag the CatBlock button out of the toolbar. You can show it again by dragging it back into the toolbar."
},
"catblock_adblockreportinganad":{
"description":"Title of the ad report page",
"message":"CatBlock - Reporting an ad"
},
"catblock_adblock_click_for_details":{
"description":"Tooltip on the AdBlock button, to help users understand that they can click the button, and that they can control the number badge that appears on the button.",
"message":"CatBlock - click for details"
},
"catblock_adblock_wont_run_on_pages_matching":{
"description":"Message displayed when the whitelister dialog will whitelist part of an entire website, for example '*.google.com\/reader\/*'. The URL will appear on the next line.",
"message":"CatBlock won't run on any page matching:"
},
"catblock_filteradblock_custom":{
"description":"A filter list",
"message":"CatBlock custom filters (recommended)"
},
"catblock_malwarenotificationmessage":{
"description":"Notification when a malware request has been blocked. This message should be under 90 characters!",
"message":"CatBlock has blocked a download from a site known to host malware."
},
"catblock_safaricontentblockingpausemessage":{
"description":"Alert displayed after clicking 'Pause AdBlock' in the AdBlock menu while Safari Content blocking is enabled",
"message":"To pause CatBlock with Content Blocking enabled, please select Safari (in the menu bar) > Preferences > Extensions > CatBlock, and uncheck 'Enable CatBlock'."
}
}
40 changes: 40 additions & 0 deletions catblock/_locales/ca/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,45 @@
"catblock_you_know_thats_a_bad_idea_right":{
"description":"Confirmation message shown to user if they try to subscribe to too many lists. The user will have two options: OK and Cancel.",
"message":"The more filter lists you use, the slower CatBlock runs. Using too many lists can even crash your browser on some websites. Press OK to subscribe to this list anyway."
},
"catblock_safarinotificationbody":{
"description":"Body of a notification shown to Safari Content Blocking users with too many filter list rules",
"message":"Please disable some filter lists. More information in CatBlock's Options."
},
"catblock_adblocksupport":{
"description":"Title of the support tab",
"message":"CatBlock Support"
},
"catblock_adblock_outdated_chrome":{
"description":"Ad report page instructions to update AdBlock in Chrome. The link will point to 'chrome:\/\/chrome\/extensions\/'",
"message":"You are using an old version of CatBlock. Please go to <a href='#'>the extensions page<\/a>, enable 'Developer mode' and click 'Update extensions now'"
},
"catblock_safaributton_how_to_hide2":{
"description":"Message explaining how to hide the AdBlock toolbar button. 'Customize Toolbar' should match the text that Safari displays in the toolbar's context menu.",
"message":"To hide the button, right click Safari's toolbar and choose Customize Toolbar, then drag the CatBlock button out of the toolbar. You can show it again by dragging it back into the toolbar."
},
"catblock_adblockreportinganad":{
"description":"Title of the ad report page",
"message":"CatBlock - Reporting an ad"
},
"catblock_adblock_click_for_details":{
"description":"Tooltip on the AdBlock button, to help users understand that they can click the button, and that they can control the number badge that appears on the button.",
"message":"CatBlock - click for details"
},
"catblock_adblock_wont_run_on_pages_matching":{
"description":"Message displayed when the whitelister dialog will whitelist part of an entire website, for example '*.google.com\/reader\/*'. The URL will appear on the next line.",
"message":"CatBlock won't run on any page matching:"
},
"catblock_filteradblock_custom":{
"description":"A filter list",
"message":"CatBlock custom filters (recommended)"
},
"catblock_malwarenotificationmessage":{
"description":"Notification when a malware request has been blocked. This message should be under 90 characters!",
"message":"CatBlock has blocked a download from a site known to host malware."
},
"catblock_safaricontentblockingpausemessage":{
"description":"Alert displayed after clicking 'Pause AdBlock' in the AdBlock menu while Safari Content blocking is enabled",
"message":"To pause CatBlock with Content Blocking enabled, please select Safari (in the menu bar) > Preferences > Extensions > CatBlock, and uncheck 'Enable CatBlock'."
}
}
40 changes: 40 additions & 0 deletions catblock/_locales/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,45 @@
"catblock_you_know_thats_a_bad_idea_right":{
"description":"Confirmation message shown to user if they try to subscribe to too many lists. The user will have two options: OK and Cancel.",
"message":"The more filter lists you use, the slower CatBlock runs. Using too many lists can even crash your browser on some websites. Press OK to subscribe to this list anyway."
},
"catblock_safarinotificationbody":{
"description":"Body of a notification shown to Safari Content Blocking users with too many filter list rules",
"message":"Please disable some filter lists. More information in CatBlock's Options."
},
"catblock_adblocksupport":{
"description":"Title of the support tab",
"message":"CatBlock Support"
},
"catblock_adblock_outdated_chrome":{
"description":"Ad report page instructions to update AdBlock in Chrome. The link will point to 'chrome:\/\/chrome\/extensions\/'",
"message":"You are using an old version of CatBlock. Please go to <a href='#'>the extensions page<\/a>, enable 'Developer mode' and click 'Update extensions now'"
},
"catblock_safaributton_how_to_hide2":{
"description":"Message explaining how to hide the AdBlock toolbar button. 'Customize Toolbar' should match the text that Safari displays in the toolbar's context menu.",
"message":"To hide the button, right click Safari's toolbar and choose Customize Toolbar, then drag the CatBlock button out of the toolbar. You can show it again by dragging it back into the toolbar."
},
"catblock_adblockreportinganad":{
"description":"Title of the ad report page",
"message":"CatBlock - Reporting an ad"
},
"catblock_adblock_click_for_details":{
"description":"Tooltip on the AdBlock button, to help users understand that they can click the button, and that they can control the number badge that appears on the button.",
"message":"CatBlock - click for details"
},
"catblock_adblock_wont_run_on_pages_matching":{
"description":"Message displayed when the whitelister dialog will whitelist part of an entire website, for example '*.google.com\/reader\/*'. The URL will appear on the next line.",
"message":"CatBlock won't run on any page matching:"
},
"catblock_filteradblock_custom":{
"description":"A filter list",
"message":"CatBlock custom filters (recommended)"
},
"catblock_malwarenotificationmessage":{
"description":"Notification when a malware request has been blocked. This message should be under 90 characters!",
"message":"CatBlock has blocked a download from a site known to host malware."
},
"catblock_safaricontentblockingpausemessage":{
"description":"Alert displayed after clicking 'Pause AdBlock' in the AdBlock menu while Safari Content blocking is enabled",
"message":"To pause CatBlock with Content Blocking enabled, please select Safari (in the menu bar) > Preferences > Extensions > CatBlock, and uncheck 'Enable CatBlock'."
}
}
40 changes: 40 additions & 0 deletions catblock/_locales/da/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,45 @@
"catblock_you_know_thats_a_bad_idea_right":{
"description":"Confirmation message shown to user if they try to subscribe to too many lists. The user will have two options: OK and Cancel.",
"message":"The more filter lists you use, the slower CatBlock runs. Using too many lists can even crash your browser on some websites. Press OK to subscribe to this list anyway."
},
"catblock_safarinotificationbody":{
"description":"Body of a notification shown to Safari Content Blocking users with too many filter list rules",
"message":"Please disable some filter lists. More information in CatBlock's Options."
},
"catblock_adblocksupport":{
"description":"Title of the support tab",
"message":"CatBlock Support"
},
"catblock_adblock_outdated_chrome":{
"description":"Ad report page instructions to update AdBlock in Chrome. The link will point to 'chrome:\/\/chrome\/extensions\/'",
"message":"You are using an old version of CatBlock. Please go to <a href='#'>the extensions page<\/a>, enable 'Developer mode' and click 'Update extensions now'"
},
"catblock_safaributton_how_to_hide2":{
"description":"Message explaining how to hide the AdBlock toolbar button. 'Customize Toolbar' should match the text that Safari displays in the toolbar's context menu.",
"message":"To hide the button, right click Safari's toolbar and choose Customize Toolbar, then drag the CatBlock button out of the toolbar. You can show it again by dragging it back into the toolbar."
},
"catblock_adblockreportinganad":{
"description":"Title of the ad report page",
"message":"CatBlock - Reporting an ad"
},
"catblock_adblock_click_for_details":{
"description":"Tooltip on the AdBlock button, to help users understand that they can click the button, and that they can control the number badge that appears on the button.",
"message":"CatBlock - click for details"
},
"catblock_adblock_wont_run_on_pages_matching":{
"description":"Message displayed when the whitelister dialog will whitelist part of an entire website, for example '*.google.com\/reader\/*'. The URL will appear on the next line.",
"message":"CatBlock won't run on any page matching:"
},
"catblock_filteradblock_custom":{
"description":"A filter list",
"message":"CatBlock custom filters (recommended)"
},
"catblock_malwarenotificationmessage":{
"description":"Notification when a malware request has been blocked. This message should be under 90 characters!",
"message":"CatBlock has blocked a download from a site known to host malware."
},
"catblock_safaricontentblockingpausemessage":{
"description":"Alert displayed after clicking 'Pause AdBlock' in the AdBlock menu while Safari Content blocking is enabled",
"message":"To pause CatBlock with Content Blocking enabled, please select Safari (in the menu bar) > Preferences > Extensions > CatBlock, and uncheck 'Enable CatBlock'."
}
}
40 changes: 40 additions & 0 deletions catblock/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,45 @@
"catblock_you_know_thats_a_bad_idea_right":{
"description":"Confirmation message shown to user if they try to subscribe to too many lists. The user will have two options: OK and Cancel.",
"message":"The more filter lists you use, the slower CatBlock runs. Using too many lists can even crash your browser on some websites. Press OK to subscribe to this list anyway."
},
"catblock_safarinotificationbody":{
"description":"Body of a notification shown to Safari Content Blocking users with too many filter list rules",
"message":"Please disable some filter lists. More information in CatBlock's Options."
},
"catblock_adblocksupport":{
"description":"Title of the support tab",
"message":"CatBlock Support"
},
"catblock_adblock_outdated_chrome":{
"description":"Ad report page instructions to update AdBlock in Chrome. The link will point to 'chrome:\/\/chrome\/extensions\/'",
"message":"You are using an old version of CatBlock. Please go to <a href='#'>the extensions page<\/a>, enable 'Developer mode' and click 'Update extensions now'"
},
"catblock_safaributton_how_to_hide2":{
"description":"Message explaining how to hide the AdBlock toolbar button. 'Customize Toolbar' should match the text that Safari displays in the toolbar's context menu.",
"message":"To hide the button, right click Safari's toolbar and choose Customize Toolbar, then drag the CatBlock button out of the toolbar. You can show it again by dragging it back into the toolbar."
},
"catblock_adblockreportinganad":{
"description":"Title of the ad report page",
"message":"CatBlock - Reporting an ad"
},
"catblock_adblock_click_for_details":{
"description":"Tooltip on the AdBlock button, to help users understand that they can click the button, and that they can control the number badge that appears on the button.",
"message":"CatBlock - click for details"
},
"catblock_adblock_wont_run_on_pages_matching":{
"description":"Message displayed when the whitelister dialog will whitelist part of an entire website, for example '*.google.com\/reader\/*'. The URL will appear on the next line.",
"message":"CatBlock won't run on any page matching:"
},
"catblock_filteradblock_custom":{
"description":"A filter list",
"message":"CatBlock custom filters (recommended)"
},
"catblock_malwarenotificationmessage":{
"description":"Notification when a malware request has been blocked. This message should be under 90 characters!",
"message":"CatBlock has blocked a download from a site known to host malware."
},
"catblock_safaricontentblockingpausemessage":{
"description":"Alert displayed after clicking 'Pause AdBlock' in the AdBlock menu while Safari Content blocking is enabled",
"message":"To pause CatBlock with Content Blocking enabled, please select Safari (in the menu bar) > Preferences > Extensions > CatBlock, and uncheck 'Enable CatBlock'."
}
}
Loading