This was posted an hour ago and still no one has released a bookmarklet to circumvent? Come on HN!
I'm pretty sick of this constant cat and mouse game, and I just used the Google Personal Blocklist extension for Chrome to remove Quora from my Google search results.
javascript:(function($) {
var $answerTextDivs = $("div.answer_text:has(.blurred_answer)");
function heal() {
$answerTextDiv = $(this);
$answerLink = $answerTextDiv.find("a.answer_permalink");
if ($answerLink.length === 0) {
showError($answerTextDiv, "could not find answer - no permalink.");
return;
}
$.get($answerLink.attr("href"), function(d) {
var $permaAnswerDiv = $(d).find(".answer_text");
$answerTextDiv.empty();
$answerTextDiv.append($permaAnswerDiv.first());
}).fail(function(e) {
showError($answerTextDiv, "ajax call failed - " + e);
});
}
function showError($container, message) {
var $errorDiv = $("<div>");
$errorDiv.text(message);
$errorDiv.css({
'background-color': 'red',
'color': 'white',
'padding': '2px 6px',
'position': 'absolute',
'margin-top': '38px',
'z-index': 2000
});
$container.prepend($errorDiv);
}
$answerTextDivs.one('mouseenter', heal);
$.ajaxPrefilter(function(options, originalOptions, jqXHR) {
/* this is to prevent annoying UIX usage tracking POSTs to Quora */
if (options.type === 'POST') {
jqXHR.abort();
}
});
}(jQuery));It's another couple of button presses but if it fucks them over for this scummy tactic I'm all for it.
javascript:(function($) {
$(".app_promo, .app_install_dialog").hide();
$(".answer_text").css({'margin-left': '110px', 'width': '88%'});
}(jQuery));Thanks for the first-pass at it though!