News for hackers. Stuff that matters.
Re:Try and view the source by Zarel on Monday March 19, 2012 @02:43AM (#3722683)
I recently learned about a similar trick that gets around NoScript:

http://citeomatic.com/_asdf.html

(This one only works in Firefox and Opera, not Chrome, sadly)

Re:Try and view the source by dhx on Monday March 19, 2012 @04:52AM (#3723009)
Nice trick. Spoiler:

  HTTP/1.1 200 OK
  Date: Mon, 19 Mar 2012 08:49:27 GMT
  Server: Apache
  Link: <_asdf.css>;rel="stylesheet";type="text/css";media="all"
  Content-Length: 0
  Connection: close
  Content-Type: text/html; charset=UTF-8
Re:Try and view the source by thinkalone on Monday March 19, 2012 @03:19AM (#3722799)
That one's fun - I thought it was going to be more complicated and never considered the method you used :)
Re:Try and view the source by Or1on on Monday March 19, 2012 @03:33AM (#3722840)
Very cool.

With httpfox I got

html:after { padding-left: 5px; content: 'Can you view my source from Firefox or Opera?'; }

Edit: It's also possible to view the source with Firefox JSview, Web Developer addons and curl.