{"id":16791835,"url":"https://github.com/posabsolute/jquery-error-handler-plugin","last_synced_at":"2025-03-23T15:31:17.911Z","repository":{"id":1422679,"uuid":"1545831","full_name":"posabsolute/jQuery-Error-Handler-Plugin","owner":"posabsolute","description":"This jQuery plugin send an email when a javascript error is triggered","archived":false,"fork":false,"pushed_at":"2013-03-06T17:49:55.000Z","size":425,"stargazers_count":37,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T21:52:08.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posabsolute.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-03-30T11:39:49.000Z","updated_at":"2024-10-09T14:35:11.000Z","dependencies_parsed_at":"2022-07-29T13:18:57.785Z","dependency_job_id":null,"html_url":"https://github.com/posabsolute/jQuery-Error-Handler-Plugin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posabsolute%2FjQuery-Error-Handler-Plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posabsolute%2FjQuery-Error-Handler-Plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posabsolute%2FjQuery-Error-Handler-Plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posabsolute%2FjQuery-Error-Handler-Plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posabsolute","download_url":"https://codeload.github.com/posabsolute/jQuery-Error-Handler-Plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122751,"owners_count":20564366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T08:35:57.684Z","updated_at":"2025-03-23T15:31:17.466Z","avatar_url":"https://github.com/posabsolute.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery error capturing plugin\n\nThis jQuery plugin send an email when a javascript error is triggered. \nSpecially useful in big web application where you want to know if users hit javascript errors.\n\nA php mail example is given with this plugin, but it could also be easily logged in a database \n\n## Integration\n\nLoad the plugin just after the jQuery library\n\n      $(document).jsErrorHandler();\n\n\n\n## Options\n\nYou can define some options.\n\nBy default the plugin automatically fetch the domain and add it to the email subject, but you can overwrite it.\nYou can also define a from, I would highly recommend that you change the from setting in the plugin file (jquery.onerror.js)  if your going to use this plugin on multiple websites.\n\n     $(document).jsErrorHandler({\n        from: \"support@youremail.com\",\n\t\twebsite: document.domain\n     });\n\n\n## The Email\n\nThe email received will look like this:\n\nA javascript error has been detected on www.position-absolute.com\n\nMessage: variable is not defined\n\nUrl: http://www.position-absolute.com/creation/onerror/\n\nLine: 21\n\nUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0\n\n## Limitation\n\nThe plugin works on \nFirefox 3.6+,\nChrome Latest,\nIE7+\n\nIt does not work on Safari and Opera, but it will not break your application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposabsolute%2Fjquery-error-handler-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposabsolute%2Fjquery-error-handler-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposabsolute%2Fjquery-error-handler-plugin/lists"}