servo/resources/user-agent-js/00.example.js

6 lines
373 B
JavaScript

// Keep files in this directory which you would like executed before
// any other script when servo is run with `--userscripts`
// Files are sorted alphabetically. When committing polyfills
// order them with numbers, e.g. `01.innerhtml.js` will be executed before
// `05.jquery.js`
onunhandledrejection = (e) => console.error("xxxjdm error: " + JSON.stringify(e.reason));