function for selecting blocks

This commit is contained in:
Shish 2012-03-22 14:19:46 +00:00
parent 2226bc9f15
commit 898df24dd9

View File

@ -8,3 +8,11 @@ $(function() {
// text-align: justify with element margins and doesn't recalculate // text-align: justify with element margins and doesn't recalculate
// these margins when part of the line disappears... // 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);
}
}