diff --git a/ext/index/script.js b/ext/index/script.js index 98d997ea..f49c3b95 100644 --- a/ext/index/script.js +++ b/ext/index/script.js @@ -8,3 +8,11 @@ $(function() { // text-align: justify with element margins and doesn't recalculate // these margins when part of the line disappears... }); + +function select_blocked_tags() { + var blocked_tags = prompt("Enter tags to ignore", $.cookie("blocked-tags") || "My_Little_Pony"); + if(blocked_tags) { + $.cookie("blocked-tags", blocked_tags.toLowerCase(), {path: '/'}); + location.reload(true); + } +}