andreas comments on Less Wrong: Open Thread, September 2010 - Less Wrong

3 Post author: matt 01 September 2010 01:40AM

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

Comments (610)

Sort By: Popular

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

Comment author: andreas 10 September 2010 09:08:56PM 0 points [-]

Thanks for coding this!

Currently, the script does not work in Chrome (which supports Greasemonkey out of the box).

Comment author: Wei_Dai 10 September 2010 10:07:44PM *  1 point [-]

From http://dev.chromium.org/developers/design-documents/user-scripts

  • Chromium does not support @require, @resource, unsafeWindow, GM_registerMenuCommand, GM_setValue, or GM_getValue
  • GM_xmlhttpRequest is same-origin only

My script uses 4 out of these 6 features, and also cross-domain GM_xmlhttpRequest (the comments are actually loaded from a PHP script hosted elsewhere, because LW doesn't seem to provide a way to grab 400 comments at once), so it's going to have to stay Firefox-only for the time being.

Oh, in case anyone developing LW is reading this, I release my script into the public domain, so feel free to incorporate the features into LW itself.