Live data from Hacker News

Chrome Inspector Detector

adamschwartz.co

81–90 of 92 posts

Re: Chrome Inspector Detector

#82
post #61

Earlier quoted context omitted.

It's becoming increasing clear that on HN you're a second class citizen if you don't use Chrome on a Mac and develop on RoR.

DHH would certainly agree: http://david.heinemeierhansson.com/arc/000433.html

Another gem http://37signals.com/svn/posts/3084-watching-apple-win-the-w...

Re: Chrome Inspector Detector

#85
post #11

Oh, the evil things I could do with this to coworkers who try to debug my Javascript code. Oh, the evil things I could do...

It may not be clear, but the main use case for this app is not to harm someone, but to aid in development. Perhaps you're making a game and want to pause it or show wireframes when toggling the inspector. Or perhaps you're a designer and you want to show a grid layout whenever you're inspecting elements.

That may have been your aim and while there is a great potential good, there's also a great potential for evil. You've opened pandora's box and now we'll see how it plays out. My guess is that we're going to see a lot of misguided website abuse this until the Chrome team has to patch it so websites can't know its state.

Re: Chrome Inspector Detector

#86
post #25

How do I press ⌘ on Linux?

“⌘” is the key that the USB HID spec calls “GUI”. It is the same key as (for instance) “Meta” on Sun keyboards and the Windows logo on MS keyboards.

Now you know how to press it.

Your next problem is that much Linux software (Chrome included) insists on using the MS Windows convention of overloading Control for menu shortcuts. This is a great nuisance when you want to be able to use, for example, both Control-V (the conventional LNEXT character in *nix consoles) and GUI-V (the conventional Paste shortcut in GUIs).

Pre-Linux X programs tended to get this right, since they were not focussed on slavishly imitating MS Windows. Apple got it right somewhat accidentally — the original Mac keyboard had no Control key at all, and it got added to support familiar editing and remote terminal uses.

Re: Chrome Inspector Detector

#87

A developer could use this to kill all the DOM nodes on the page when the console was opened. This might be the next generation of: img.onclick="javascript:function(){alert('Don\'t steal!');return false}"

view-source would still work right. so
Post reply on HN