slikts comments on Dark Arts 101: Using presuppositions - Less Wrong

65 Post author: PhilGoetz 27 December 2010 05:16PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (81)

You are viewing a single comment's thread. Show more comments above.

Comment author: slikts 11 January 2011 11:15:42AM *  0 points [-]

You can use a simple bookmarklet to make links on LW non-functional, e.g.:

javascript:(function(){$$('a').each(function(q){q.writeAttribute('href','#');})})();

To use this you would just set up a bookmark with the code as the address and click on it while LW is open.

Edit: A cross-site version of the bookmarklet would look like this:

javascript:(function(){var x=document.getElementsByTagName('a');for(var i=0,n=x.length;i<n;i++)x[i].setAttribute('href','#');})();