Jyyjy opened a new issue, #109:
URL: https://github.com/apache/flagon/issues/109

   Copied from https://github.com/apache/flagon-useralejs/issues/47
   
   Currently the browser extension has limited configurability through 
/UserAleWebExtension/options.js--userAleHost, userAleScript, toolUser, 
toolName, toolVersion. As such, the embedded userale-X.x.x.js script logs 
everything. It would be good to embed a filter in ./background.js that receives 
user inputs through opstionsPage.js and options.js. A nice example example of a 
filter can be found in our /example dir:
   
   window.userale.filter(function (log) { var type_array = ['mouseup', 
'mouseover', 'mousedown', 'keydown', 'dblclick', 'blur', 'focus', 'input', 
'wheel']; var logType_array = ['interval']; return 
!type_array.includes(log.type) && !logType_array.includes(log.logType); });
   Would be nice to include a form object that would allow users to add 
(through drop down or simple text input) event 'types' (e.g., mousedown, 
mouseup, mouseover) and log 'types' (e.g., 'raw', 'interval') (aside: maybe 
toggle for 'interval') to exclude from the browser extension log stream.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@flagon.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@flagon.apache.org
For additional commands, e-mail: notifications-h...@flagon.apache.org

Reply via email to