Utility function userscript for the browser's developer tools console