News for hackers. Stuff that matters.
Re:Try and view the source by Flam on Monday March 19, 2012 @12:29AM (#3722306)
This is why I love NoScript. Viewed it no problems and easily saw what you were doing. Pretty clever trick, thank you.
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.

Re:Try and view the source by sedev on Monday March 19, 2012 @01:40AM (#3722536)
NoScript is the new antivirus, really.
Re:Try and view the source by JoshTriplett on Monday March 19, 2012 @01:54AM (#3722569)
No, NoScript acts more like a whitelist of executables permitted to run, with all others banned. Browser sandboxes themselves are the new antivirus.

Or alternatively, NoScript is the new lynx.

The problem shown in this example needs fixing in the browser, not by gutting the browser. This example just shows that "view source" should probably make it easier to get at the DOM-generated source. ("View Selection Source" or anything that shows the current DOM will work.)

Re:Try and view the source by dfc on Monday March 19, 2012 @02:08AM (#3722595)
NoScript + RequestPolicy is awesome. RequestPolicy adds the "missing feature" in my opinion: context aware script loading.