Live data from Hacker News

Try and view the source

kurlak.com

31–40 of 86 posts

Re: Try and view the source

#32
$ curl http://www.kurlak.com/john/%E2%80%AElmth.ecruos 406 Not Acceptable Not Acceptable

An appropriate representation of the requested resource /john/‮lmth.ecruos could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Re: Try and view the source

#33
post #23
post #2

This is why I love NoScript. Viewed it no problems and easily saw what you were doing. Pretty clever trick, thank you.

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)

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

#35
post #23
post #2

This is why I love NoScript. Viewed it no problems and easily saw what you were doing. Pretty clever trick, thank you.

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)

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

#36
'view source' for me has been command + option + j (dev console) for a while now. It will always show you the live element tree.

That said, pretty neat trick.

Re: Try and view the source

#37

Yes I can view the source: https://gist.github.com/2097197

    $ cat  GET /john/source.html HTTP/1.1
    > Host: www.kurlak.com
    > User-Agent: Mozilla/5.0 Chrome/1
    > 
    > !
    HTTP/1.1 200 OK
    Date: Mon, 19 Mar 2012 07:44:51 GMT
    Server: Apache
    Last-Modified: Mon, 19 Mar 2012 00:51:24 GMT
    Accept-Ranges: bytes
    Content-Length: 295
    Content-Type: text/html

    

Re: Try and view the source

#39
post #26

Right click: Inspect Element

That shows the current DOM state, not the source that created it. There's a distinction, especially if you use a lot of JavaScript to fiddle with the DOM.

What about (in Chrome) Inspect Element -> Network -> source.html -> Response?
Post reply on HN