Skip to main content

Posts

Showing posts with the label web-applications

Google Chome "Application Shortcut” Custom Javascript

Introduction Google chrome has a feature that allows you to create shortcuts to web pages and make them appear like traditional desktop applications. For example, a shortcut to twitter mobile might be C:\Users\<username>\AppData\Local\Google\Chrome\Application\chrome.exe --app=https://mobile.twitter.com/ The file icon for this app is stored in C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Web Applications\mobile.twitter.com\https_80 My Question It's been a while since I've used this feature and I seem to remember that you could add your own javascript files to the app folder which were included when the application was loaded. However, I cannot find any documentation that discusses this feature but I'm 99% certain it exists. Does anyone have any details if this feature is available and what files I need to create?

Distinguish new vs existing exceptions

I am creating a PHP application and I want to display the number of times an error has occurred. The problem that I am trying to figure out is if an error has already been reported or if its new using the following values: Message (ie: Attempted to divide by zero.) Stack trace (ie: at componentNETapp.Form1.btnTrackExceptionsUn_Click(Object sender, EventArgs e) ...) Source (ie: componentNETapp) Target site (ie: Void btnTrackExceptionsUn_Click(System.Object, System.EventArgs)) Thanks