From 898df24dd94e03c6c571af45d2c30a4a1bc2d0e9 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 22 Mar 2012 14:19:46 +0000 Subject: [PATCH] function for selecting blocks --- ext/index/script.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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); + } +}