There isn’t a number of situations where I pressed Cmd + Q and closed Firefox instead of Cmd + W and closing current tab and I have tried a lot of different things to stop it from custom keyboard shortcuts, to writing defaults in NSUserKeyEquivalents but without any success.
Now I have found solution.
There is experimental extension called Always Ask which solves this problem with simple popup asking you if you want to close Firefox or not.
Works like a charm.
Here is the link to it.
Yesterday I tried to remove Exchange 2007 from Windows PDC because we have migrated to Gmail and Exchange is still eating lot of resources from it so one of the steps in removing it was to delete old mailboxes.
But (there is always at least one but) deleting of the mailboxes was including automatically deleting of user accounts on domain so in other words no one could log in on the domain or their own computers connected to domain.Read on →
Here is simple tip to display frame values of any UIView with NSLog
After this run your app and in Debugger Console you will se output where values are written in x, y, width, height format.