flagon-useralejs icon indicating copy to clipboard operation
flagon-useralejs copied to clipboard

Add configurable filter for different log 'types' in browser extension options

Open poorejc opened this issue 4 years ago • 4 comments

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.

poorejc avatar Mar 07 '21 02:03 poorejc

Hello Sir @poorejc , Please assign me this issue.

Rajrits avatar Sep 17 '23 04:09 Rajrits

@Rajrits sure thing! We'd love to see your contribution! Thank you!

poorejc avatar Oct 08 '23 02:10 poorejc

Hello @poorejc, I am facing some problems in understanding the project, Would you please help me to start? It would be great if we could have a direct conversation or meeting on whatever platform you are comfortable with.

Rajrits avatar Oct 10 '23 03:10 Rajrits

Hello @poorejc, I am facing some problems in understanding the project, Would you please help me to start? It would be great if we could have a direct conversation or meeting on whatever platform you are comfortable with.

@Rajrits If you're still interested in this project, send an email to [email protected] and we can setup a time to discuss what the project is trying to accomplish and how you can help. Probably over zoom if that works for you.

Jyyjy avatar Feb 18 '24 00:02 Jyyjy