Index: stats.js |
=================================================================== |
--- a/stats.js |
+++ b/stats.js |
@@ -128,17 +128,19 @@ |
getPref("blocked_total", blockedTotal => |
{ |
// Easter Egg |
if (blockedTotal <= 9000 || blockedTotal >= 10000) |
blockedTotal = blockedTotal.toLocaleString(); |
else |
blockedTotal = i18n.getMessage("stats_over", (9000).toLocaleString()); |
- ext.pages.open(createShareLink(ev.target.dataset.social, blockedTotal)); |
+ chrome.tabs.create({ |
+ url: createShareLink(ev.target.dataset.social, blockedTotal) |
+ }); |
}); |
} |
function toggleIconNumber() |
{ |
togglePref("show_statsinicon", showStatsInIcon => |
{ |
document.getElementById("show-iconnumber").setAttribute( |